org.deegree_impl.services.wcas.capabilities
Class Capability_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wcas.capabilities.Capability_Impl
All Implemented Interfaces:
Capability

public class Capability_Impl
extends java.lang.Object
implements Capability

The capabilities section specifies the list of requests that the WFS can handle. Two classes of web feature servers, based on the capabilities they support, are defined in the Overview

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

Version:
$Revision: 1.2 $ $Date: 2004/03/16 08:07:25 $
Author:
Axel Schaefer

Field Summary
private  CException exceptions
           
private  java.util.ArrayList federatedCatalogs
           
private  PresentOptions presentOptions
           
private  QueryLanguages queryLanguages
           
private  RecordTypeList recordTypeList
           
private  Request request
           
private  TaxonomyTypeList taxonomyTypeList
           
private  org.w3c.dom.Document vendorspecificCapabilities
           
 
Constructor Summary
(package private) Capability_Impl(TaxonomyTypeList taxonomyTypeList, Request request, RecordTypeList recordTypeList, PresentOptions presentOptions, QueryLanguages queryLanguages, FederatedCatalog[] federatedCatalogs, CException exceptions, org.w3c.dom.Document vendorspecificCapabilities)
           
 
Method Summary
 void addFederatedCatalog(FederatedCatalog federatedCatalog)
           
 CException getExceptions()
          returns the format exceptions will be returned
 FederatedCatalog[] getFederatedCatalogs()
          returns a list of federated catalogs that shall be called by the catalog as cascaded catalogs when recieving a request
 PresentOptions getPresentOptions()
           
 QueryLanguages getQueryLanguages()
          return an object that contains information about which query languages are known by a catalog
 RecordTypeList getRecordTypeList()
           
 Request getRequest()
          A basic WFS would include the GetCapabilities, DescribeFeatureType and the GetFeature interfaces.
 TaxonomyTypeList getTaxonomyTypeList()
          * returns an object that contains a list of txonomies known by the catalog
 org.w3c.dom.Document getVendorSpecificCapabilities()
          returns vendor specific capabilities of the wfs
 void setExceptions(CException exceptions)
           
 void setFederatedCatalogs(FederatedCatalog[] federatedCatalogs)
           
 void setPresentOptions(PresentOptions presentOptions)
           
 void setQueryLanguages(QueryLanguages queryLanguages)
          sets the query languages known by a catalog
 void setRecordTypeList(RecordTypeList recordTypeList)
           
 void setRequest(Request request)
           
 void setTaxonomyTypeList(TaxonomyTypeList taxonomyTypeList)
           
 void setVendorSpecificCapabilities(org.w3c.dom.Document vendorspecificCapabilities)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

request

private Request request

vendorspecificCapabilities

private org.w3c.dom.Document vendorspecificCapabilities

recordTypeList

private RecordTypeList recordTypeList

presentOptions

private PresentOptions presentOptions

federatedCatalogs

private java.util.ArrayList federatedCatalogs

exceptions

private CException exceptions

taxonomyTypeList

private TaxonomyTypeList taxonomyTypeList

queryLanguages

private QueryLanguages queryLanguages
Constructor Detail

Capability_Impl

Capability_Impl(TaxonomyTypeList taxonomyTypeList,
                Request request,
                RecordTypeList recordTypeList,
                PresentOptions presentOptions,
                QueryLanguages queryLanguages,
                FederatedCatalog[] federatedCatalogs,
                CException exceptions,
                org.w3c.dom.Document vendorspecificCapabilities)
Method Detail

getRequest

public Request getRequest()
A basic WFS would include the GetCapabilities, DescribeFeatureType and the GetFeature interfaces. A transactional WFS would also include the Transaction interface, possibly the LockFeature interface and/or the GetFeatureWithLock interface.

Specified by:
getRequest in interface Capability
Returns:
request known by a catalog

setRequest

public void setRequest(Request request)
See Also:
getRequest()

getVendorSpecificCapabilities

public org.w3c.dom.Document getVendorSpecificCapabilities()
returns vendor specific capabilities of the wfs

Specified by:
getVendorSpecificCapabilities in interface Capability
Returns:
vendor specific capabilities

setVendorSpecificCapabilities

public void setVendorSpecificCapabilities(org.w3c.dom.Document vendorspecificCapabilities)
See Also:
getVendorSpecificCapabilities()

getRecordTypeList

public RecordTypeList getRecordTypeList()
Specified by:
getRecordTypeList in interface Capability

setRecordTypeList

public void setRecordTypeList(RecordTypeList recordTypeList)
See Also:
getRecordTypeList()

getPresentOptions

public PresentOptions getPresentOptions()
Specified by:
getPresentOptions in interface Capability

setPresentOptions

public void setPresentOptions(PresentOptions presentOptions)
See Also:
getPresentOptions()

getFederatedCatalogs

public FederatedCatalog[] getFederatedCatalogs()
returns a list of federated catalogs that shall be called by the catalog as cascaded catalogs when recieving a request

Specified by:
getFederatedCatalogs in interface Capability
Returns:
federated catalogs known by the catalog

setFederatedCatalogs

public void setFederatedCatalogs(FederatedCatalog[] federatedCatalogs)
See Also:
getFederatedCatalogs()

addFederatedCatalog

public void addFederatedCatalog(FederatedCatalog federatedCatalog)
See Also:
getFederatedCatalogs()

getExceptions

public CException getExceptions()
Description copied from interface: Capability
returns the format exceptions will be returned

Specified by:
getExceptions in interface Capability
Returns:
format exceptions will be returned

setExceptions

public void setExceptions(CException exceptions)
See Also:
getExceptions()

toString

public java.lang.String toString()

getTaxonomyTypeList

public TaxonomyTypeList getTaxonomyTypeList()
* returns an object that contains a list of txonomies known by the catalog

Specified by:
getTaxonomyTypeList in interface Capability

setTaxonomyTypeList

public void setTaxonomyTypeList(TaxonomyTypeList taxonomyTypeList)

getQueryLanguages

public QueryLanguages getQueryLanguages()
return an object that contains information about which query languages are known by a catalog

Specified by:
getQueryLanguages in interface Capability
Returns:
query languages are known by a catalog

setQueryLanguages

public void setQueryLanguages(QueryLanguages queryLanguages)
sets the query languages known by a catalog

Parameters:
queryLanguages - query languages known by a catalog