gov.nasa.worldwind.util
Class WWDotNetLayerSetConfiguration
java.lang.Object
gov.nasa.worldwind.util.WWDotNetLayerSetConfiguration
public class WWDotNetLayerSetConfiguration - extends Object
A utility class for transforming a World Wind .NET LayerSet document to a standard Layer configuration document.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WWDotNetLayerSetConfiguration
public WWDotNetLayerSetConfiguration()
createDataConfig
public static DataConfiguration createDataConfig(Element domElement)
- Creates a standard layer configuration from a World Wind .NET LayerSet document.
- Parameters:
domElement - backing document.
- Returns:
- Layer document, or null if the LayerSet document cannot be transformed to a standard document.
- Throws:
IllegalArgumentException - if the document is null.
getLayerSetLatLon
protected static LatLon getLayerSetLatLon(Element context,
String path,
XPath xpath)
getLayerSetSector
protected static Sector getLayerSetSector(Element context,
String path,
XPath xpath)
isLayerSetDocument
public static boolean isLayerSetDocument(Element domElement)
- Returns true if a specified document should be accepted as a World Wind .NET LayerSet configuration document,
and false otherwise.
- Parameters:
domElement - the document in question.
- Returns:
- true if the document is a LayerSet configuration document; false otherwise.
- Throws:
IllegalArgumentException - if document is null.
transformLayerSet
protected static void transformLayerSet(Element context,
Document outDoc,
XPath xpath)
transformLayerSetDocument
public static Document transformLayerSetDocument(Element domElement)
- Transforms a World Wind .NET LayerSet document to a standard layer configuration document.
- Parameters:
domElement - LayerSet document to transform.
- Returns:
- standard Layer document, or null if the LayerSet document cannot be transformed to a standard document.
- Throws:
IllegalArgumentException - if the document is null.
transformQuadTileSet
protected static void transformQuadTileSet(Element context,
Element outElem,
XPath xpath)
|
|