gov.nasa.worldwind.ogc.kml
Class KMLPoint
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.KMLPoint
- All Implemented Interfaces:
- MessageListener, XMLEventParser
public class KMLPoint
- extends KMLAbstractGeometry
Represents the KML Point element and provides access to its contents.
|
Constructor Summary |
KMLPoint(String namespaceURI)
Construct an instance. |
| Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
allocate, doAddCharacters, doAddEventAttribute, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coordinates
protected Position coordinates
KMLPoint
public KMLPoint(String namespaceURI)
- Construct an instance.
- Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
applyChange
public void applyChange(KMLAbstractObject sourceValues)
- Overrides:
applyChange in class KMLAbstractGeometry
doAddEventContent
protected void doAddEventContent(Object o,
XMLEventParserContext ctx,
XMLEvent event,
Object... args)
throws XMLStreamException
- Overrides:
doAddEventContent in class AbstractXMLEventParser
- Throws:
XMLStreamException
getAltitudeMode
public String getAltitudeMode()
getCoordinates
public Position getCoordinates()
getExtrude
public Boolean getExtrude()
isExtrude
public boolean isExtrude()
setCoordinates
protected void setCoordinates(Position.PositionList coordsList)