Provides classes for parsing KML and KMZ files and streams.
KMLRoot provides access to the KML contents. The source can be either a file, an input stream or a
URL.
KMLRoot class provides accessor methods for the kml element of the KML file, its
root. The content includes the element's single attribute, hint, and the NetworkLinkControl and
Feature elements it may contain. Once the root is parsed, use these methods to obtain objects
representing these elements, and use the accessor methods of those objects in turn to obtain their contents.
This package's classes are designed for easy behavior modification and replacement, and for straightforward addition of operations to be performed during parsing. See the description of {@link gov.nasa.worldwind.util.xml.AbstractXMLEventParser} for further information.
Because the KML specification requires relative references within KML files to be resolved relative to the location
of the file, a context is provided to resolve these references. The context is specific to the document type
file, stream, KML or KMZ and is provided by the {@link gov.nasa.worldwind.ogc.kml.io.KMLDoc} interface and
its implementing classes. It's available from the {@link gov.nasa.worldwind.ogc.kml.KMLRoot}. See the description of
the KMLDoc interface for further information.