element and URLs for HTTP POST requests.
----------------------------------------------------------------------
- Version:
- $Revision: 1.14 $
- Author:
- Katharina Lupp, Markus Schneider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
exception
private CException exception
vendorSpecificCapabilities
private org.w3c.dom.Document vendorSpecificCapabilities
layer
private Layer layer
request
private Request request
userDefinedSymbolization
private UserDefinedSymbolization userDefinedSymbolization
Capability_Impl
Capability_Impl()
- default constructor
Capability_Impl
Capability_Impl(Request request,
CException exception,
org.w3c.dom.Document vendorSpecificCapabilities,
UserDefinedSymbolization userDefinedSymbolization,
Layer layer)
- constructor initializing the class with the capabilities
getRequest
public Request getRequest()
- Available WMS Operations are listed in a Request element.
- Specified by:
getRequest
in interface Capability
setRequest
public void setRequest(Request request)
- sets available WMS Operations listed in a Request element.
getException
public CException getException()
- returns the format where exceptions will be returned
- Specified by:
getException
in interface Capability
setException
public void setException(CException exception)
- sets the format where exceptions will be returned
getVendorSpecificCapabilities
public org.w3c.dom.Document getVendorSpecificCapabilities()
- returns vendor specific capabilities that are not common
to wms as dom document.
- Specified by:
getVendorSpecificCapabilities
in interface Capability
setVendorSpecificCapabilities
public void setVendorSpecificCapabilities(org.w3c.dom.Document vendorSpecificCapabilities)
- sets vendor specific capabilities that are not common
to wms as dom document.
getUserDefinedSymbolization
public UserDefinedSymbolization getUserDefinedSymbolization()
- Optional user-defined symbolization (used only by SLD-enabled WMSes).
- Specified by:
getUserDefinedSymbolization
in interface Capability
setUserDefinedSymbolization
public void setUserDefinedSymbolization(UserDefinedSymbolization userDefinedSymbolization)
- sets the user-defined symbolization
getLayer
public Layer getLayer()
- returns the top level layer that may encloses several more
layers and layer hierachies available by a map server. If no
layer is available null will be returned.
- Specified by:
getLayer
in interface Capability
getLayer
public Layer getLayer(java.lang.String name)
- Returns the Layer identified by the submitted name. If no Layer matches
the name null will be returned.
- Specified by:
getLayer
in interface Capability
- Parameters:
name
- name of the requested layer
- Returns:
- a layer object or null
getLayer
private Layer getLayer(java.lang.String name,
Layer[] layers)
- recursion over all layers to find the layer that matches the submitted
name. If no layer can be found that fullfills the condition null
will be returned.
- Parameters:
name
- name of the layer to be foundlayers
- list of searchable layers
- Returns:
- a layer object or null
setLayer
public void setLayer(Layer layer)
- sets the top level layer that may encloses several more
layers and layer hierachies available by a map server. If no
layer is available null will be returned.
toString
public java.lang.String toString()
- Returns:
exportAsXML
public java.lang.String exportAsXML()
- Returns an XML representation of this object.
- Specified by:
exportAsXML
in interface Marshallable
- Returns:
- XML-representation of this object