Package org.matsim.vis.kml
Class MatsimKmlStyleFactory
- java.lang.Object
-
- org.matsim.vis.kml.MatsimKmlStyleFactory
-
- All Implemented Interfaces:
MatsimFactory
,NetworkKmlStyleFactory
public class MatsimKmlStyleFactory extends Object implements NetworkKmlStyleFactory
- Author:
- dgrether
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULTLINKICON
static String
DEFAULTNODEICON
static String
DEFAULTNODEICONRESOURCE
the resource to be used as iconstatic byte[]
MATSIMGREEN
static byte[]
MATSIMRED
static byte[]
MATSIMYELLOW
-
Constructor Summary
Constructors Constructor Description MatsimKmlStyleFactory(KMZWriter writer, net.opengis.kml.v_2_2_0.DocumentType document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.opengis.kml.v_2_2_0.StyleType
createDefaultNetworkLinkStyle()
net.opengis.kml.v_2_2_0.StyleType
createDefaultNetworkNodeStyle()
-
-
-
Field Detail
-
DEFAULTLINKICON
public static final String DEFAULTLINKICON
- See Also:
- Constant Field Values
-
DEFAULTNODEICON
public static final String DEFAULTNODEICON
- See Also:
- Constant Field Values
-
DEFAULTNODEICONRESOURCE
public static final String DEFAULTNODEICONRESOURCE
the resource to be used as icon- See Also:
- Constant Field Values
-
MATSIMRED
public static final byte[] MATSIMRED
-
MATSIMGREEN
public static final byte[] MATSIMGREEN
-
MATSIMYELLOW
public static final byte[] MATSIMYELLOW
-
-
Constructor Detail
-
MatsimKmlStyleFactory
public MatsimKmlStyleFactory(KMZWriter writer, net.opengis.kml.v_2_2_0.DocumentType document)
-
-
Method Detail
-
createDefaultNetworkNodeStyle
public net.opengis.kml.v_2_2_0.StyleType createDefaultNetworkNodeStyle() throws IOException
- Specified by:
createDefaultNetworkNodeStyle
in interfaceNetworkKmlStyleFactory
- Throws:
IOException
-
createDefaultNetworkLinkStyle
public net.opengis.kml.v_2_2_0.StyleType createDefaultNetworkLinkStyle() throws IOException
- Specified by:
createDefaultNetworkLinkStyle
in interfaceNetworkKmlStyleFactory
- Throws:
IOException
-
-