|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.InstalledDataConfiguration
public class InstalledDataConfiguration
An utility class for transforming an installed data "data descriptor" configuration document to a standard Layer or ElevationModel configuration document.
| Constructor Summary | |
|---|---|
InstalledDataConfiguration()
|
|
| Method Summary | |
|---|---|
static DataConfiguration |
createDataConfig(org.w3c.dom.Element domElement)
Creates a standard layer or elevation model configuration backed by a specified "data descriptor" document. |
protected static LatLon |
getDataDescriptorLatLon(org.w3c.dom.Element context,
java.lang.String path,
javax.xml.xpath.XPath xpath)
|
protected static Sector |
getDataDescriptorSector(org.w3c.dom.Element context,
java.lang.String path,
javax.xml.xpath.XPath xpath)
|
static boolean |
isInstalledDataDocument(org.w3c.dom.Element domElement)
Returns true if a specified DOM document should be accepted as a"data descriptor" configuration document, and false otherwise. |
protected static void |
transformCommonElements(org.w3c.dom.Element context,
org.w3c.dom.Element outElem,
javax.xml.xpath.XPath xpath)
|
protected static void |
transformDataSet(org.w3c.dom.Element context,
org.w3c.dom.Document outDoc,
javax.xml.xpath.XPath xpath)
|
protected static void |
transformElevationModelElements(org.w3c.dom.Element context,
org.w3c.dom.Element outElem,
javax.xml.xpath.XPath xpath)
|
static org.w3c.dom.Document |
transformInstalledDataDocument(org.w3c.dom.Element domElement)
Transforms a "data descriptor" document to a standard layer or elevation model configuration document, depending on the contents of the Element. |
protected static void |
transformLayerElements(org.w3c.dom.Element context,
org.w3c.dom.Element outElem,
javax.xml.xpath.XPath xpath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstalledDataConfiguration()
| Method Detail |
|---|
public static DataConfiguration createDataConfig(org.w3c.dom.Element domElement)
domElement - backing DOM document.
java.lang.IllegalArgumentException - if the document is null.
protected static LatLon getDataDescriptorLatLon(org.w3c.dom.Element context,
java.lang.String path,
javax.xml.xpath.XPath xpath)
protected static Sector getDataDescriptorSector(org.w3c.dom.Element context,
java.lang.String path,
javax.xml.xpath.XPath xpath)
public static boolean isInstalledDataDocument(org.w3c.dom.Element domElement)
domElement - the DOM document in question.
java.lang.IllegalArgumentException - if document is null.
protected static void transformCommonElements(org.w3c.dom.Element context,
org.w3c.dom.Element outElem,
javax.xml.xpath.XPath xpath)
protected static void transformDataSet(org.w3c.dom.Element context,
org.w3c.dom.Document outDoc,
javax.xml.xpath.XPath xpath)
protected static void transformElevationModelElements(org.w3c.dom.Element context,
org.w3c.dom.Element outElem,
javax.xml.xpath.XPath xpath)
public static org.w3c.dom.Document transformInstalledDataDocument(org.w3c.dom.Element domElement)
Element.
domElement - DataDescriptor document to transform.
java.lang.IllegalArgumentException - if the document is null.
protected static void transformLayerElements(org.w3c.dom.Element context,
org.w3c.dom.Element outElem,
javax.xml.xpath.XPath xpath)
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||