public class KMLVec2 extends KMLAbstractObject
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
x |
protected java.lang.Double |
y |
MSG_BOX_CHANGED, MSG_GEOMETRY_CHANGED, MSG_LINK_CHANGED, MSG_STYLE_CHANGED, MSG_TIME_CHANGED, MSG_VIEW_CHANGED
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
KMLVec2(java.lang.String namespaceURI)
Construct an instance.
|
Modifier and Type | Method and 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) |
applyChange, getId, getRoot, getTargetId, onChange, onMessage
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
public KMLVec2(java.lang.String namespaceURI)
namespaceURI
- the qualifying namespace URI. May be null to indicate no namespace qualification.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
doAddEventAttribute
in class AbstractXMLEventParser
javax.xml.stream.XMLStreamException
public java.lang.Double getX()
public java.lang.String getXunits()
public java.lang.Double getY()
public java.lang.String getYunits()
protected void setX(java.lang.Double o)
protected void setY(java.lang.Double o)