NASA World Wind

gov.nasa.worldwind.ogc.kml
Class KMLChange

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by gov.nasa.worldwind.ogc.kml.KMLChange
All Implemented Interfaces:
KMLUpdateOperation, XMLEventParser

public class KMLChange
extends AbstractXMLEventParser
implements KMLUpdateOperation

Represents the KML Change element and provides access to its contents.


Field Summary
protected  List<KMLAbstractObject> objects
           
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
KMLChange(String namespaceURI)
          Construct an instance.
 
Method Summary
protected  void addObject(KMLAbstractObject o)
           
 void applyOperation(KMLRoot targetRoot)
           
protected  void doAddEventContent(Object o, XMLEventParserContext ctx, XMLEvent event, Object... args)
           
 List<KMLAbstractObject> getObjects()
           
 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, doAddCharacters, doAddEventAttribute, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, 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
 

Field Detail

objects

protected List<KMLAbstractObject> objects
Constructor Detail

KMLChange

public KMLChange(String namespaceURI)
Construct an instance.

Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
Method Detail

addObject

protected void addObject(KMLAbstractObject o)

applyOperation

public void applyOperation(KMLRoot targetRoot)
Specified by:
applyOperation in interface KMLUpdateOperation

doAddEventContent

protected void doAddEventContent(Object o,
                                 XMLEventParserContext ctx,
                                 XMLEvent event,
                                 Object... args)
                          throws XMLStreamException
Overrides:
doAddEventContent in class AbstractXMLEventParser
Throws:
XMLStreamException

getObjects

public List<KMLAbstractObject> getObjects()

NASA World Wind