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.
| 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, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operations
protected List<KMLUpdateOperation> operations
updatesApplied
protected boolean updatesApplied
KMLUpdate
public KMLUpdate(String namespaceURI)
- Construct an instance.
- Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
addChange
protected void addChange(KMLChange o)
addCreate
protected void addCreate(KMLCreate o)
addDelete
protected void addDelete(KMLDelete o)
applyOperations
public void applyOperations()
doAddEventContent
protected void doAddEventContent(Object o,
XMLEventParserContext ctx,
XMLEvent event,
Object... args)
throws XMLStreamException
- Overrides:
doAddEventContent in class AbstractXMLEventParser
- Throws:
XMLStreamException
getTargetHref
public String getTargetHref()
isUpdatesApplied
public boolean isUpdatesApplied()