Package gov.nasa.worldwind.ogc.wms
Class WmsCapabilities
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.XmlModel
-
- gov.nasa.worldwind.ogc.wms.WmsCapabilities
-
public class WmsCapabilities extends XmlModel
-
-
Constructor Summary
Constructors Constructor Description WmsCapabilities()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WmsCapabilities
getCapabilities(java.io.InputStream inputStream)
WmsCapability
getCapability()
WmsLayer
getNamedLayer(java.lang.String name)
java.util.List<WmsLayer>
getNamedLayers()
Returns all named layers in the capabilities document.WmsService
getService()
Returns the document's service information.java.lang.String
getUpdateSequence()
Returns the document's update sequence.java.lang.String
getVersion()
Returns the document's version number.void
parseField(java.lang.String keyName, java.lang.Object value)
-
-
-
Method Detail
-
getCapabilities
public static WmsCapabilities getCapabilities(java.io.InputStream inputStream) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getNamedLayers
public java.util.List<WmsLayer> getNamedLayers()
Returns all named layers in the capabilities document.- Returns:
- an unordered list of the document's named layers.
-
getNamedLayer
public WmsLayer getNamedLayer(java.lang.String name)
-
getCapability
public WmsCapability getCapability()
-
getService
public WmsService getService()
Returns the document's service information.- Returns:
- the document's service information.
-
getVersion
public java.lang.String getVersion()
Returns the document's version number.- Returns:
- the document's version number.
-
getUpdateSequence
public java.lang.String getUpdateSequence()
Returns the document's update sequence.- Returns:
- the document's update sequence.
-
parseField
public void parseField(java.lang.String keyName, java.lang.Object value)
-
-