Package gov.nasa.worldwind.ogc.kml
Class KMLUpdate
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.kml.KMLAbstractObject
-
- gov.nasa.worldwind.ogc.kml.KMLUpdate
-
- All Implemented Interfaces:
MessageListener,XMLEventParser
public class KMLUpdate extends KMLAbstractObject
Represents the KML Update element and provides access to its contents.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<KMLUpdateOperation>operationsprotected booleanupdatesApplied-
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 KMLUpdate(java.lang.String namespaceURI)Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddChange(KMLChange o)protected voidaddCreate(KMLCreate o)protected voidaddDelete(KMLDelete o)voidapplyOperations()protected voiddoAddEventContent(java.lang.Object o, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)java.lang.StringgetTargetHref()booleanisUpdatesApplied()-
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, doAddEventAttribute, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
-
-
-
-
Field Detail
-
operations
protected java.util.List<KMLUpdateOperation> operations
-
updatesApplied
protected boolean updatesApplied
-
-
Method Detail
-
doAddEventContent
protected void doAddEventContent(java.lang.Object o, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException- Overrides:
doAddEventContentin classAbstractXMLEventParser- Throws:
javax.xml.stream.XMLStreamException
-
getTargetHref
public java.lang.String getTargetHref()
-
addChange
protected void addChange(KMLChange o)
-
addCreate
protected void addCreate(KMLCreate o)
-
addDelete
protected void addDelete(KMLDelete o)
-
isUpdatesApplied
public boolean isUpdatesApplied()
-
applyOperations
public void applyOperations()
-
-