gov.nasa.worldwind.ogc.kml
Class KMLCreate
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
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.
| 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 |
containers
protected List<KMLAbstractContainer> containers
KMLCreate
public KMLCreate(String namespaceURI)
- Construct an instance.
- Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
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()