Package 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Double
x
protected java.lang.Double
y
-
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 KMLVec2(java.lang.String namespaceURI)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doAddEventAttribute(javax.xml.stream.events.Attribute attr, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
java.lang.Double
getX()
java.lang.String
getXunits()
java.lang.Double
getY()
java.lang.String
getYunits()
protected void
setX(java.lang.Double o)
protected void
setY(java.lang.Double o)
-
Methods inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractObject
applyChange, getId, getRoot, getTargetId, onChange, onMessage
-
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, setNamespaceURI, setParent
-
-
-
-
Method Detail
-
doAddEventAttribute
protected void doAddEventAttribute(javax.xml.stream.events.Attribute attr, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException
- Overrides:
doAddEventAttribute
in classAbstractXMLEventParser
- Throws:
javax.xml.stream.XMLStreamException
-
setX
protected void setX(java.lang.Double o)
-
getX
public java.lang.Double getX()
-
setY
protected void setY(java.lang.Double o)
-
getY
public java.lang.Double getY()
-
getXunits
public java.lang.String getXunits()
-
getYunits
public java.lang.String getYunits()
-
-