org.deegree_impl.services.wcas.capabilities
Class GetRecord_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wcas.capabilities.RequestType_Impl
      extended byorg.deegree_impl.services.wcas.capabilities.GetRecord_Impl
All Implemented Interfaces:
GetRecord, RequestType

public class GetRecord_Impl
extends RequestType_Impl
implements GetRecord

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: 2004/01/08 09:50:23 $
Author:
Axel Schaefer

Field Summary
private  java.util.HashMap classes
           
private  java.util.ArrayList resultFormat
           
 
Fields inherited from class org.deegree_impl.services.wcas.capabilities.RequestType_Impl
 
Constructor Summary
(package private) GetRecord_Impl(DCPType[] dcpTypes, java.lang.String[] resultFormat, java.lang.String[] classNames)
          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 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.
 java.lang.String[] getResultFormat()
          gets the ResultFormat
 void setClasses(java.lang.String[] formats, java.lang.String[] classNames)
          sets the classes that are responsible for handling/creating the submitted format.
 void setResultFormat(java.lang.String[] resultFormat)
          sets the ResultFormat
 java.lang.String toString()
           
 
Methods inherited from class org.deegree_impl.services.wcas.capabilities.RequestType_Impl
addDCPType, getDCPTypes, setDCPTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wcas.capabilities.RequestType
getDCPTypes
 

Field Detail

resultFormat

private java.util.ArrayList resultFormat

classes

private java.util.HashMap classes
Constructor Detail

GetRecord_Impl

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

Method Detail

getResultFormat

public java.lang.String[] getResultFormat()
gets the ResultFormat

Specified by:
getResultFormat in interface GetRecord

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


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 CAS to add the handling for new formats dynamicly by editing the its capabilities document.

Specified by:
getClassForFormat in interface GetRecord

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()