org.deegree_impl.services.wfs.capabilities
Class GetFeatureWithLock_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wfs.capabilities.GetFeature_Impl
      extended byorg.deegree_impl.services.wfs.capabilities.GetFeatureWithLock_Impl
All Implemented Interfaces:
GetFeature, GetFeatureWithLock

class GetFeatureWithLock_Impl
extends GetFeature_Impl
implements GetFeatureWithLock

The <GetFeature> tag isused todefine the formats available for expressing the results of a query. The RESULTFORMATS entity defines the mandatory output format of GML but can be redefined to include additional vendor specific formats.

-----------------------------------------------------

Version:
$Revision: 1.1.1.1 $ $Date: 2002/09/25 16:01:22 $
Author:
Axel Schaefer

Constructor Summary
(package private) GetFeatureWithLock_Impl(java.lang.String[] resultFormat, java.lang.String[] classes, DCPType[] dCPType)
           
 
Method Summary
 void addClassByName(java.lang.String format, java.lang.String className)
          adds a class that is responsible for handling/creating the submitted format.
 void addDCPType(DCPType dCPType)
          adds the available Distributed Computing Platforms (DCPs) for a operation.
 void addResultFormat(java.lang.String resultFormat)
          adds a result format to the GetFeature operation
 GetFeatureResponseHandler getClassForFormat(java.lang.String format)
          the method returns the class that is responsible for handling/creating the submitted format.
 DCPType[] getDCPType()
          The only available distributed computing platform is HTTP for which two request methods are defined; GET and POST.
 java.lang.String[] getResultFormat()
          gets the ResultFormat, the ouput format of the GML.
 void setClasses(java.lang.String[] formats, java.lang.String[] classNames)
          sets the classes that are responsible for handling/creating the submitted format.
 void setDCPType(DCPType[] dCPTypes)
          adds the available Distributed Computing Platforms (DCPs) for a operation.
 void setResultFormat(java.lang.String[] resultFormat)
          sets the ResultFormat, the ouput format of the GML.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wfs.capabilities.GetFeature
getClassForFormat, getDCPType, getResultFormat
 

Constructor Detail

GetFeatureWithLock_Impl

GetFeatureWithLock_Impl(java.lang.String[] resultFormat,
                        java.lang.String[] classes,
                        DCPType[] dCPType)
Method Detail

getResultFormat

public java.lang.String[] getResultFormat()
gets the ResultFormat, the ouput format of the GML.

Specified by:
getResultFormat in interface GetFeature

addResultFormat

public void addResultFormat(java.lang.String resultFormat)
adds a result format to the GetFeature operation


setResultFormat

public void setResultFormat(java.lang.String[] resultFormat)
sets the ResultFormat, the ouput format of the GML.


getDCPType

public DCPType[] getDCPType()
The only available distributed computing platform is HTTP for which two request methods are defined; GET and POST. The onlineResource attribute indicates the URL prefix for HTTP GET requests (everything before the question mark and query string:http://hostname[:port]/path/scriptname); for HTTP POST requests, onlineResource is the complete URL.

Specified by:
getDCPType in interface GetFeature

addDCPType

public void addDCPType(DCPType dCPType)
adds the available Distributed Computing Platforms (DCPs) for a operation. At present, only HTTP (GET & POST) is defined.


setDCPType

public void setDCPType(DCPType[] dCPTypes)
adds the available Distributed Computing Platforms (DCPs) for a operation. At present, only HTTP (GET & POST) is defined.


getClassForFormat

public GetFeatureResponseHandler getClassForFormat(java.lang.String format)
the method returns the class that is responsible for handling/creating the submitted format. This enables an implementation of the deegree WFS to add the handling for new formats dynamicly by editing the its capabilities document.

Specified by:
getClassForFormat in interface GetFeature

setClasses

public void setClasses(java.lang.String[] formats,
                       java.lang.String[] classNames)
sets the classes that are responsible for handling/creating the submitted format.


addClassByName

public void addClassByName(java.lang.String format,
                           java.lang.String className)
adds a class that is responsible for handling/creating the submitted format.


toString

public java.lang.String toString()
Returns: