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.
| 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 |
simpleFields
protected List<KMLSimpleField> simpleFields
KMLSchema
public KMLSchema(String namespaceURI)
- Construct an instance.
- Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
addSimpleField
protected void addSimpleField(KMLSimpleField o)
doAddEventContent
protected void doAddEventContent(Object o,
XMLEventParserContext ctx,
XMLEvent event,
Object... args)
throws XMLStreamException
- Overrides:
doAddEventContent in class AbstractXMLEventParser
- Throws:
XMLStreamException
getId
public String getId()
getName
public String getName()
getSimpleFields
public List<KMLSimpleField> getSimpleFields()