deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wfs.operation
Class WFSGetCapabilities

java.lang.Object
  extended by org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
      extended by org.deegree.ogcwebservices.getcapabilities.GetCapabilities
          extended by org.deegree.ogcwebservices.wfs.operation.WFSGetCapabilities
All Implemented Interfaces:
java.io.Serializable, OGCWebServiceRequest

public class WFSGetCapabilities
extends GetCapabilities

Represents a GetCapabilities request to a web feature service.

The GetCapabilities request is used to query a capabilities document from a web feature service.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth , Markus Schneider , last edited by: $Author: mschneider $
See Also:
Serialized Form

Constructor Summary
WFSGetCapabilities(java.lang.String id, java.lang.String updateSeq, java.lang.String[] acceptVersions, java.lang.String[] sections, java.lang.String[] acceptFormats, java.util.Map<java.lang.String,java.lang.String> vendoreSpec)
          Creates a new WFSGetCapabilities instance. with a wfs version of WFService.VERSION.
WFSGetCapabilities(java.lang.String id, java.lang.String version, java.lang.String updateSeq, java.lang.String[] acceptVersions, java.lang.String[] sections, java.lang.String[] acceptFormats, java.util.Map<java.lang.String,java.lang.String> vendoreSpec)
          Creates a new WFSGetCapabilities instance.
 
Method Summary
static WFSGetCapabilities create(java.util.Map<java.lang.String,java.lang.String> request)
          Creates a new WFSGetCapabilities request from the given map.
static WFSGetCapabilities create(java.lang.String id, org.w3c.dom.Element root)
          Creates a WFSGetCapabilities instance from a document that contains the DOM representation of the request.
static WFSGetCapabilities create(java.lang.String id, java.lang.String request)
          Creates a new WFSGetCapabilities instance from the given key-value pair encoded request.
 java.lang.String getServiceName()
          Returns the service name (WFS).
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.GetCapabilities
getAcceptFormats, getAcceptVersions, getSections, getUpdateSequence
 
Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
getId, getParam, getParamAsInt, getParamValues, getRequestParameter, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WFSGetCapabilities

WFSGetCapabilities(java.lang.String id,
                   java.lang.String updateSeq,
                   java.lang.String[] acceptVersions,
                   java.lang.String[] sections,
                   java.lang.String[] acceptFormats,
                   java.util.Map<java.lang.String,java.lang.String> vendoreSpec)
Creates a new WFSGetCapabilities instance. with a wfs version of WFService.VERSION.

Parameters:
id - request identifier
updateSeq -
acceptVersions -
sections -
acceptFormats -
vendoreSpec -

WFSGetCapabilities

WFSGetCapabilities(java.lang.String id,
                   java.lang.String version,
                   java.lang.String updateSeq,
                   java.lang.String[] acceptVersions,
                   java.lang.String[] sections,
                   java.lang.String[] acceptFormats,
                   java.util.Map<java.lang.String,java.lang.String> vendoreSpec)
Creates a new WFSGetCapabilities instance.

Parameters:
id - request identifier
version - the version of the request. (e.g 1.0.0 or 1.1.0)
updateSeq -
acceptVersions -
sections -
acceptFormats -
vendoreSpec -
Method Detail

create

public static WFSGetCapabilities create(java.lang.String id,
                                        org.w3c.dom.Element root)
                                 throws OGCWebServiceException
Creates a WFSGetCapabilities instance from a document that contains the DOM representation of the request.

Parameters:
id -
root - element that contains the DOM representation of the request
Returns:
transaction instance
Throws:
OGCWebServiceException

create

public static WFSGetCapabilities create(java.lang.String id,
                                        java.lang.String request)
                                 throws MissingParameterValueException,
                                        InvalidParameterValueException
Creates a new WFSGetCapabilities instance from the given key-value pair encoded request.

Parameters:
id - request identifier
request -
Returns:
new WFSGetCapabilities request
Throws:
InvalidParameterValueException
MissingParameterValueException

create

public static WFSGetCapabilities create(java.util.Map<java.lang.String,java.lang.String> request)
                                 throws MissingParameterValueException,
                                        InvalidParameterValueException
Creates a new WFSGetCapabilities request from the given map.

Parameters:
request -
Returns:
new WFSGetCapabilities request
Throws:
MissingParameterValueException
InvalidParameterValueException

getServiceName

public java.lang.String getServiceName()
Returns the service name (WFS).

Returns:
the service name (WFS).

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org