| |
|
| java.lang.Object com.vividsolutions.wms.Parser
Parser | public class Parser (Code) | | Pulls WMS objects out of the XML
author: Chris Hodgson chodgson@refractions.net |
Constructor Summary | |
public | Parser() Creates a Parser for dealing with WMS XML. |
Parser | public Parser()(Code) | | Creates a Parser for dealing with WMS XML.
|
boundingBoxFromNode | public BoundingBox boundingBoxFromNode(Node n) throws Exception(Code) | | 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 aLatLonBoundingBox element or a BoundingBox element a new BoundingBox object based on the DOM Node provided |
parseCapabilities | public Capabilities parseCapabilities(WMService service, InputStream inStream) throws IOException(Code) | | Parses the WMT_MS_Capabilities XML from the given InputStream into
a Capabilities object.
Parameters: service - the WMService from which this MapDescriptor is derived Parameters: inStream - the inputStream containing the WMT_MS_Capabilities XML to parse the MapDescriptor object created from the specified XML InputStream |
wmsLayerFromNode | public MapLayer wmsLayerFromNode(Node layerNode)(Code) | | 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 a XML element a WMSLayer with complete subLayer tree that correspondsto the DOM Node provided |
|
|
|