org.deegree_impl.services.wfs.capabilities
Class GetFeature_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wfs.capabilities.GetFeature_Impl
All Implemented Interfaces:
GetFeature
Direct Known Subclasses:
GetFeatureWithLock_Impl

class GetFeature_Impl
extends java.lang.Object
implements GetFeature

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.2 $ $Date: 2003/08/29 08:03:00 $
Author:
Katharina Lupp

Field Summary
private  java.util.HashMap classes
           
private  java.util.ArrayList dCPType
           
private  java.util.ArrayList resultFormat
           
 
Constructor Summary
(package private) GetFeature_Impl(java.lang.String[] resultFormat, java.lang.String[] classNames, DCPType[] dCPType)
          constructor initializing the class with the
 
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
 

Field Detail

dCPType

private java.util.ArrayList dCPType

resultFormat

private java.util.ArrayList resultFormat

classes

private java.util.HashMap classes
Constructor Detail

GetFeature_Impl

GetFeature_Impl(java.lang.String[] resultFormat,
                java.lang.String[] classNames,
                DCPType[] dCPType)
constructor initializing the class with the

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: