NASA World Wind

gov.nasa.worldwind.ogc.kml
Class KMLDocument

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by gov.nasa.worldwind.ogc.kml.KMLAbstractObject
          extended by gov.nasa.worldwind.ogc.kml.KMLAbstractFeature
              extended by gov.nasa.worldwind.ogc.kml.KMLAbstractContainer
                  extended by gov.nasa.worldwind.ogc.kml.KMLDocument
All Implemented Interfaces:
MessageListener, KMLRenderable, XMLEventParser

public class KMLDocument
extends KMLAbstractContainer

Represents the KML Document element and provides access to its contents.


Field Summary
protected  List<KMLSchema> schemas
           
 
Fields inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractContainer
features
 
Fields inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractFeature
balloon, region, styleSelectors, visibility
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
KMLDocument(String namespaceURI)
          Construct an instance.
 
Method Summary
protected  void addSchema(KMLSchema o)
           
protected  void doAddEventContent(Object o, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, Object... args)
           
 List<KMLSchema> getSchemas()
           
 
Methods inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractContainer
addFeature, beginRendering, doPreRender, doRender, endRendering, getFeatures, isFeatureActive, onMessage, preRenderFeatures, renderFeatures
 
Methods inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractFeature
addStyleSelector, getAddress, getAddressDetails, getAuthor, getBalloon, getDescription, getExtendedData, getLink, getName, getOpen, getPhoneNumber, getRegion, getSnippet, getSnippetText, getStyleSelectors, getStyleUrl, getSubStyle, getTimePrimitive, getView, getVisibility, preRender, render, renderBalloon, setBalloon, setRegion, setTimePrimitive, setView, setVisibility
 
Methods inherited from class gov.nasa.worldwind.ogc.kml.KMLAbstractObject
getId, getRoot, getTargetId
 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, doAddCharacters, doAddEventAttribute, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, 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

schemas

protected List<KMLSchema> schemas
Constructor Detail

KMLDocument

public KMLDocument(String namespaceURI)
Construct an instance.

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

addSchema

protected void addSchema(KMLSchema o)

doAddEventContent

protected void doAddEventContent(Object o,
                                 XMLEventParserContext ctx,
                                 javax.xml.stream.events.XMLEvent event,
                                 Object... args)
                          throws javax.xml.stream.XMLStreamException
Overrides:
doAddEventContent in class KMLAbstractContainer
Throws:
javax.xml.stream.XMLStreamException

getSchemas

public List<KMLSchema> getSchemas()

NASA World Wind