public class KMLVec2 extends KMLAbstractObject
Modifier and Type | Field and Description |
---|---|
protected Double |
x |
protected 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(String namespaceURI)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doAddEventAttribute(Attribute attr,
XMLEventParserContext ctx,
XMLEvent event,
Object... args) |
Double |
getX() |
String |
getXunits() |
Double |
getY() |
String |
getYunits() |
protected void |
setX(Double o) |
protected void |
setY(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(String namespaceURI)
namespaceURI
- the qualifying namespace URI. May be null to indicate no namespace qualification.protected void doAddEventAttribute(Attribute attr, XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
doAddEventAttribute
in class AbstractXMLEventParser
XMLStreamException
public Double getX()
public String getXunits()
public Double getY()
public String getYunits()
protected void setX(Double o)
protected void setY(Double o)