Package gov.nasa.worldwind.ogc.kml
Class KMLModel
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.kml.KMLAbstractObject
-
- gov.nasa.worldwind.ogc.kml.KMLAbstractGeometry
-
- gov.nasa.worldwind.ogc.kml.KMLModel
-
- All Implemented Interfaces:
MessageListener
,XMLEventParser
public class KMLModel extends KMLAbstractGeometry
Represents the KML Model element and provides access to its contents.
-
-
Field Summary
Fields Modifier and Type Field Description protected KMLLink
link
protected boolean
linkFetched
Flag to indicate that the link has been fetched from the hash map.-
Fields inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractObject
MSG_BOX_CHANGED, MSG_GEOMETRY_CHANGED, MSG_LINK_CHANGED, MSG_STYLE_CHANGED, MSG_TIME_CHANGED, MSG_VIEW_CHANGED
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description KMLModel(java.lang.String namespaceURI)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAltitudeMode()
KMLLink
getLink()
KMLLocation
getLocation()
KMLOrientation
getOrientation()
KMLResourceMap
getResourceMap()
KMLScale
getScale()
-
Methods inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractGeometry
applyChange
-
Methods inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractObject
getId, getRoot, getTargetId, onChange, onMessage
-
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
-
-
-
-
Field Detail
-
linkFetched
protected boolean linkFetched
Flag to indicate that the link has been fetched from the hash map.
-
link
protected KMLLink link
-
-
Method Detail
-
getAltitudeMode
public java.lang.String getAltitudeMode()
-
getLocation
public KMLLocation getLocation()
-
getOrientation
public KMLOrientation getOrientation()
-
getScale
public KMLScale getScale()
-
getLink
public KMLLink getLink()
-
getResourceMap
public KMLResourceMap getResourceMap()
-
-