NASA World Wind

gov.nasa.worldwind.ogc.kml
Class KMLCreate

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

public class KMLCreate
extends AbstractXMLEventParser
implements KMLUpdateOperation

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


Field Summary
protected  List<KMLAbstractContainer> containers
           
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
KMLCreate(String namespaceURI)
          Construct an instance.
 
Method Summary
protected  void addContainer(KMLAbstractContainer o)
           
 void applyOperation(KMLRoot targetRoot)
           
protected  void doAddEventContent(Object o, XMLEventParserContext ctx, XMLEvent event, Object... args)
           
 List<KMLAbstractContainer> getContainers()
           
 
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

containers

protected List<KMLAbstractContainer> containers
Constructor Detail

KMLCreate

public KMLCreate(String namespaceURI)
Construct an instance.

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

addContainer

protected void addContainer(KMLAbstractContainer 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

getContainers

public List<KMLAbstractContainer> getContainers()

NASA World Wind