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