gov.nasa.worldwind.ogc.kml
Class KMLVec2
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.kml.KMLAbstractObject
gov.nasa.worldwind.ogc.kml.KMLVec2
- All Implemented Interfaces:
- MessageListener, XMLEventParser
public class KMLVec2
- extends KMLAbstractObject
Represents the KML Vec2 element and provides access to its contents.
|
Constructor Summary |
KMLVec2(String namespaceURI)
Construct an instance. |
| Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
allocate, doAddCharacters, doAddEventContent, 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 |
x
protected Double x
y
protected Double y
KMLVec2
public KMLVec2(String namespaceURI)
- Construct an instance.
- Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
doAddEventAttribute
protected void doAddEventAttribute(Attribute attr,
XMLEventParserContext ctx,
XMLEvent event,
Object... args)
throws XMLStreamException
- Overrides:
doAddEventAttribute in class AbstractXMLEventParser
- Throws:
XMLStreamException
getX
public Double getX()
getXunits
public String getXunits()
getY
public Double getY()
getYunits
public String getYunits()
setX
protected void setX(Double o)
setY
protected void setY(Double o)