|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.vividsolutions.wms.Parser
Pulls WMS objects out of the XML
| Constructor Summary | |
Parser()
Creates a Parser for dealing with WMS XML. |
|
| Method Summary | |
BoundingBox |
boundingBoxFromNode(org.w3c.dom.Node n)
Creates a new BoundingBox object based on the DOM Node given. |
Capabilities |
parseCapabilities(WMService service,
java.io.InputStream inStream)
Parses the WMT_MS_Capabilities XML from the given InputStream into a Capabilities object. |
MapLayer |
wmsLayerFromNode(org.w3c.dom.Node layerNode)
Traverses the DOM tree underneath the specified Node and generates a corresponding WMSLayer object tree. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Parser()
| Method Detail |
public Capabilities parseCapabilities(WMService service,
java.io.InputStream inStream)
throws java.io.IOException
service - the WMService from which this MapDescriptor is derivedinStream - the inputStream containing the WMT_MS_Capabilities XML to parse
java.io.IOExceptionpublic MapLayer wmsLayerFromNode(org.w3c.dom.Node layerNode)
layerNode - a DOM Node which is a
public BoundingBox boundingBoxFromNode(org.w3c.dom.Node n)
throws java.lang.Exception
n - the DOM Node to create the Bounding box from, must be either a
LatLonBoundingBox element or a BoundingBox element
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||