Package | Description |
---|---|
gov.nasa.worldwind.ogc.kml |
Provides classes for parsing KML and KMZ files and streams.
|
gov.nasa.worldwind.ogc.kml.impl | |
gov.nasa.worldwind.util.layertree |
Displays a list of layers using
BasicTree . |
gov.nasa.worldwindx.examples.kml |
Examples of importing and exporting files in the Keyhole Markup Language (KML).
|
gov.nasa.worldwindx.examples.util |
Modifier and Type | Field and Description |
---|---|
protected KMLRoot |
KMLNetworkLink.root
Cache the root of this network link.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.atomic.AtomicReference<KMLRoot> |
KMLNetworkLink.networkResource
Indicates the network resource referenced by this
KMLNetworkLink . |
Modifier and Type | Method and Description |
---|---|
static KMLRoot |
KMLRoot.create(java.lang.Object docSource)
Creates a KML root for an untyped source.
|
static KMLRoot |
KMLRoot.create(java.lang.Object docSource,
boolean namespaceAware)
Creates a KML root for an untyped source.
|
static KMLRoot |
KMLRoot.createAndParse(java.lang.Object docSource)
Creates a KML root for an untyped source and parses it.
|
KMLRoot |
KMLNetworkLink.getNetworkResource()
Indicates the network resource referenced by this
KMLNetworkLink . |
KMLRoot |
KMLNetworkLink.getRoot()
Overridden to cache the root instead of climbing the parse tree each time.
|
KMLRoot |
KMLAbstractObject.getRoot() |
KMLRoot |
KMLRoot.parse(java.lang.Object... args)
Starts document parsing.
|
protected KMLRoot |
KMLRoot.parseCachedKMLFile(java.net.URL url,
java.lang.String linkBase,
java.lang.String contentType,
boolean namespaceAware)
Open and parse the specified file expressed as a file: URL..
|
Modifier and Type | Method and Description |
---|---|
void |
KMLUpdateOperation.applyOperation(KMLRoot operationsRoot) |
void |
KMLDelete.applyOperation(KMLRoot targetRoot) |
void |
KMLCreate.applyOperation(KMLRoot targetRoot) |
void |
KMLChange.applyOperation(KMLRoot targetRoot) |
protected long |
KMLNetworkLink.computeExpiryRefreshTime(KMLRoot root,
java.lang.String address)
Indicates the expiration time of a linked resource.
|
void |
KMLNetworkLink.setNetworkResource(KMLRoot kmlRoot)
Specifies the network resource referenced by this
KMLNetworkLink , or null if this link
has no resource. |
Modifier and Type | Field and Description |
---|---|
protected KMLRoot |
KMLController.kmlRoot |
Modifier and Type | Method and Description |
---|---|
KMLRoot |
KMLController.getKmlRoot() |
Modifier and Type | Method and Description |
---|---|
void |
KMLController.setKmlRoot(KMLRoot kmlRoot) |
Constructor and Description |
---|
KMLController(KMLRoot root) |
Modifier and Type | Field and Description |
---|---|
protected KMLRoot |
KMLLayerTreeNode.kmlRoot
Indicates the KML feature hierarchy this node represents.
|
Constructor and Description |
---|
KMLLayerTreeNode(Layer layer,
KMLRoot kmlRoot)
Creates a new
KMLLayerTreeNode from the specified layer and kmlRoot . |
Modifier and Type | Method and Description |
---|---|
protected KMLRoot |
KMLViewer.WorkerThread.parse()
Parse the KML document.
|
Modifier and Type | Method and Description |
---|---|
protected void |
KMLViewer.AppFrame.addKMLLayer(KMLRoot kmlRoot)
Adds the specified
kmlRoot to this app frame's WorldWindow as a new
Layer , and adds a new KMLLayerTreeNode for the kmlRoot to this app
frame's on-screen layer tree. |
protected static java.lang.String |
KMLViewer.formName(java.lang.Object kmlSource,
KMLRoot kmlRoot) |
Modifier and Type | Field and Description |
---|---|
protected KMLRoot |
BalloonController.DocumentRetrievalTask.context
The document that contained the link this document.
|
Modifier and Type | Method and Description |
---|---|
protected KMLRoot |
BalloonController.findOpenKmlDocument(java.lang.String url)
Search for a KML document that has already been opened.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BalloonController.addDocumentLayer(KMLRoot document)
Adds the specified
document to this controller's WorldWindow as a new
Layer . |
protected void |
BalloonController.onDocumentLoaded(java.lang.String url,
KMLRoot document,
java.lang.String featureRef)
Called when a KML document has been loaded.
|
protected boolean |
BalloonController.onFeatureLinkActivated(KMLRoot doc,
java.lang.String linkFragment,
SelectEvent event)
Called when a link to a KML feature is activated.
|
protected void |
BalloonController.requestDocument(java.lang.String url,
KMLRoot context,
java.lang.String featureRef)
Asynchronously load a KML document.
|
Constructor and Description |
---|
DocumentRetrievalTask(java.lang.String url,
KMLRoot context,
java.lang.String featureRef,
long timeout)
Create a new retrieval task.
|