Class Parser
java.lang.Object
com.vividsolutions.wms.Parser
Deprecated.
unused and can probably be deleted, kept for reference only
Pulls WMS objects out of the XML
- Author:
- Chris Hodgson chodgson@refractions.net
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates a new BoundingBox object based on the DOM Node given.protected LinkedList<String> getInfoFormats(Document doc, String rootPath) Deprecated.parseCapabilities(WMService service, InputStream inStream) Deprecated.Parses the WMT_MS_Capabilities XML from the given InputStream into a Capabilities object.wmsLayerFromNode(Node layerNode) Deprecated.Traverses the DOM tree underneath the specified Node and generates a corresponding WMSLayer object tree.
-
Constructor Details
-
Parser
public Parser()Deprecated.Creates a Parser for dealing with WMS XML.
-
-
Method Details
-
parseCapabilities
Deprecated.Parses the WMT_MS_Capabilities XML from the given InputStream into a Capabilities object.- Parameters:
service- the WMService from which this MapDescriptor is derivedinStream- the inputStream containing the WMT_MS_Capabilities XML to parse- Returns:
- the MapDescriptor object created from the specified XML InputStream
- Throws:
IOException
-
wmsLayerFromNode
Deprecated.Traverses the DOM tree underneath the specified Node and generates a corresponding WMSLayer object tree. The returned WMSLayer will be set to have the specified parent.- Parameters:
layerNode- a DOM Node which is aXML element - Returns:
- a WMSLayer with complete subLayer tree that corresponds to the DOM Node provided
-
boundingBoxFromNode
Deprecated.Creates a new BoundingBox object based on the DOM Node given.- Parameters:
n- the DOM Node to create the Bounding box from, must be either a LatLonBoundingBox element or a BoundingBox element- Returns:
- a new BoundingBox object based on the DOM Node provided
- Throws:
Exception
-
getInfoFormats
Deprecated.
-