public static class WmsCapabilities.WmsCapability
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
myBaseLayerTitle
The title for all other layers that are included
|
protected java.util.List |
myFormats
list of supported image formats
|
protected java.lang.String |
myHostName
The name of the machine that runs the wms server
|
protected LayerContainer |
myLayers
Map of WmsLayers that are accessible through wms
|
protected java.lang.String |
myPath
The path to the wms server
|
protected int |
myPort
The port of the wms server
|
protected java.lang.String |
myVendorCapabilities
complete xml string that describes the vendor specific capabilities.
|
protected boolean |
supportBlankException
does the server support blank images as an exception?
|
protected boolean |
supportInImageException
does the server support exceptions that are written into an image?
|
protected boolean |
supportXMLException
does the server support xml exceptions?
|
Constructor and Description |
---|
WmsCapabilities.WmsCapability(java.lang.String theHostName,
int thePort,
java.lang.String thePath,
java.util.List theFormats,
boolean supportxmlexception,
boolean supportinimageexception,
boolean supportblankexception,
java.lang.String theVendorCapabilities,
LayerContainer theLayers,
java.lang.String theBaseLayerTitle)
Create a new java representation of a xml capability element.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getFormats()
return a list of strings which are the supported formats.
|
LayerContainer |
getLayers()
return a reference to the map containing layer name, WmsLayer pairs.
|
java.lang.String |
toString()
generated the xml representation of this class.
|
protected java.lang.String myHostName
protected int myPort
protected java.lang.String myPath
protected java.util.List myFormats
protected boolean supportXMLException
protected boolean supportInImageException
protected boolean supportBlankException
protected java.lang.String myVendorCapabilities
protected LayerContainer myLayers
protected java.lang.String myBaseLayerTitle
public WmsCapabilities.WmsCapability(java.lang.String theHostName, int thePort, java.lang.String thePath, java.util.List theFormats, boolean supportxmlexception, boolean supportinimageexception, boolean supportblankexception, java.lang.String theVendorCapabilities, LayerContainer theLayers, java.lang.String theBaseLayerTitle)
theHostName
- the Host Name,thePort
- the Port,thePath
- the Path,theFormats
- the Formats,supportxmlexception
- support xml exception,supportinimageexception
- support in image exception,supportblankexception
- support blank exception,theVendorCapabilities
- the Vendor Capabilities,theLayers
- the Layerspublic LayerContainer getLayers()
public java.util.List getFormats()
public java.lang.String toString()
toString
in class java.lang.Object