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 AtomicReference<KMLRoot> |
KMLNetworkLink.networkResource
Indicates the network resource referenced by this
KMLNetworkLink . |
Modifier and Type | Method and Description |
---|---|
static KMLRoot |
KMLRoot.create(Object docSource)
Creates a KML root for an untyped source.
|
static KMLRoot |
KMLRoot.create(Object docSource,
boolean namespaceAware)
Creates a KML root for an untyped source.
|
static KMLRoot |
KMLRoot.createAndParse(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 |
KMLAbstractObject.getRoot() |
KMLRoot |
KMLNetworkLink.getRoot()
Overridden to cache the root instead of climbing the parse tree each time.
|
KMLRoot |
KMLRoot.parse(Object... args)
Starts document parsing.
|
protected KMLRoot |
KMLRoot.parseCachedKMLFile(URL url,
String linkBase,
String contentType,
boolean namespaceAware)
Open and parse the specified file expressed as a file: URL..
|
Modifier and Type | Method and Description |
---|---|
void |
KMLChange.applyOperation(KMLRoot targetRoot) |
void |
KMLCreate.applyOperation(KMLRoot targetRoot) |
void |
KMLUpdateOperation.applyOperation(KMLRoot operationsRoot) |
void |
KMLDelete.applyOperation(KMLRoot targetRoot) |
protected long |
KMLNetworkLink.computeExpiryRefreshTime(KMLRoot root,
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 String |
KMLViewer.formName(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(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(String url,
KMLRoot document,
String featureRef)
Called when a KML document has been loaded.
|
protected boolean |
BalloonController.onFeatureLinkActivated(KMLRoot doc,
String linkFragment,
SelectEvent event)
Called when a link to a KML feature is activated.
|
protected void |
BalloonController.requestDocument(String url,
KMLRoot context,
String featureRef)
Asynchronously load a KML document.
|
Constructor and Description |
---|
DocumentRetrievalTask(String url,
KMLRoot context,
String featureRef,
long timeout)
Create a new retrieval task.
|