Package 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<KMLAbstractContainer>
containers
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description KMLCreate(java.lang.String namespaceURI)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addContainer(KMLAbstractContainer o)
void
applyOperation(KMLRoot targetRoot)
protected void
doAddEventContent(java.lang.Object o, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
java.util.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, setNamespaceURI, setParent
-
-
-
-
Field Detail
-
containers
protected java.util.List<KMLAbstractContainer> containers
-
-
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:
doAddEventContent
in classAbstractXMLEventParser
- Throws:
javax.xml.stream.XMLStreamException
-
addContainer
protected void addContainer(KMLAbstractContainer o)
-
getContainers
public java.util.List<KMLAbstractContainer> getContainers()
-
applyOperation
public void applyOperation(KMLRoot targetRoot)
- Specified by:
applyOperation
in interfaceKMLUpdateOperation
-
-