public abstract class KMLAbstractObject extends AbstractXMLEventParser implements MessageListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MSG_BOX_CHANGED |
static java.lang.String |
MSG_GEOMETRY_CHANGED |
static java.lang.String |
MSG_LINK_CHANGED |
static java.lang.String |
MSG_STYLE_CHANGED |
static java.lang.String |
MSG_TIME_CHANGED |
static java.lang.String |
MSG_VIEW_CHANGED |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Modifier | Constructor and Description |
---|---|
protected |
KMLAbstractObject() |
protected |
KMLAbstractObject(java.lang.String namespaceURI)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
applyChange(KMLAbstractObject sourceValues) |
java.lang.String |
getId()
Returns the id of this object, if any.
|
KMLRoot |
getRoot() |
java.lang.String |
getTargetId()
Returns the target-id of this object, if any.
|
void |
onChange(Message msg) |
void |
onMessage(Message msg)
Invoked when a message is received.
|
allocate, doAddCharacters, doAddEventAttribute, 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 static final java.lang.String MSG_BOX_CHANGED
public static final java.lang.String MSG_GEOMETRY_CHANGED
public static final java.lang.String MSG_LINK_CHANGED
public static final java.lang.String MSG_STYLE_CHANGED
public static final java.lang.String MSG_TIME_CHANGED
public static final java.lang.String MSG_VIEW_CHANGED
protected KMLAbstractObject()
protected KMLAbstractObject(java.lang.String namespaceURI)
namespaceURI
- the qualifying namespace URI. May be null to indicate no namespace qualification.public void applyChange(KMLAbstractObject sourceValues)
public java.lang.String getId()
public KMLRoot getRoot()
getRoot
in class AbstractXMLEventParser
public java.lang.String getTargetId()
public void onChange(Message msg)
public void onMessage(Message msg)
MessageListener
onMessage
in interface MessageListener
msg
- The message that was received.