NASA World Wind

gov.nasa.worldwind.ogc.kml
Class KMLSchema

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by 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
protected  List<KMLSimpleField> simpleFields
           
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
KMLSchema(String namespaceURI)
          Construct an instance.
 
Method Summary
protected  void addSimpleField(KMLSimpleField o)
           
protected  void doAddEventContent(Object o, XMLEventParserContext ctx, XMLEvent event, Object... args)
           
 String getId()
           
 String getName()
           
 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, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleFields

protected List<KMLSimpleField> simpleFields
Constructor Detail

KMLSchema

public KMLSchema(String namespaceURI)
Construct an instance.

Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
Method Detail

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()

NASA World Wind