Package gov.nasa.worldwind.ogc.kml
Class KMLDelete
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.kml.KMLDelete
-
- All Implemented Interfaces:
KMLUpdateOperation
,XMLEventParser
public class KMLDelete extends AbstractXMLEventParser implements KMLUpdateOperation
Represents the KML Delete element and provides access to its contents.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<KMLAbstractFeature>
features
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description KMLDelete(java.lang.String namespaceURI)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addFeature(KMLAbstractFeature 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<KMLAbstractFeature>
getFeatures()
-
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
-
features
protected java.util.List<KMLAbstractFeature> features
-
-
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
-
addFeature
protected void addFeature(KMLAbstractFeature o)
-
getFeatures
public java.util.List<KMLAbstractFeature> getFeatures()
-
applyOperation
public void applyOperation(KMLRoot targetRoot)
- Specified by:
applyOperation
in interfaceKMLUpdateOperation
-
-