Package gov.nasa.worldwind.ogc.kml
Class KMLSchema
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.kml.KMLSchema
-
- All Implemented Interfaces:
XMLEventParser
public class KMLSchema extends AbstractXMLEventParser
Represents the KML Schema element and provides access to its contents.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<KMLSimpleField>
simpleFields
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description KMLSchema(java.lang.String namespaceURI)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addSimpleField(KMLSimpleField o)
protected void
doAddEventContent(java.lang.Object o, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
java.lang.String
getId()
java.lang.String
getName()
java.util.List<KMLSimpleField>
getSimpleFields()
-
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
-
simpleFields
protected java.util.List<KMLSimpleField> simpleFields
-
-
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
-
getName
public java.lang.String getName()
-
getId
public java.lang.String getId()
-
addSimpleField
protected void addSimpleField(KMLSimpleField o)
-
getSimpleFields
public java.util.List<KMLSimpleField> getSimpleFields()
-
-