org.deegree_impl.services.wcas.capabilities
Class WCASCapabilities_Impl

java.lang.Object
  extended byorg.deegree_impl.services.capabilities.OGCWebServiceCapabilities_Impl
      extended byorg.deegree_impl.services.wcas.capabilities.WCASCapabilities_Impl
All Implemented Interfaces:
OGCWebServiceCapabilities, WCASCapabilities

public final class WCASCapabilities_Impl
extends OGCWebServiceCapabilities_Impl
implements WCASCapabilities

The parent element of the Capabilities document includes as children a Service element with general information about the server, a Capability element with specific information about the kinds of functionality offered by the server and a featureTypeList element defining the list of all feature types available from this server.

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

Version:
$Revision: 1.5 $ $Date: 2004/03/17 07:58:29 $
Author:
Andreas Poth

Field Summary
private  java.lang.String capabilitiesSource
           
private  Capability capability
           
private  ISO19119 iso19119
           
private  java.util.HashMap locations
           
 
Fields inherited from class org.deegree_impl.services.capabilities.OGCWebServiceCapabilities_Impl
 
Constructor Summary
(package private) WCASCapabilities_Impl(java.lang.String version, java.lang.String updateSequence, ISO19119 iso19119, Capability capability, java.util.HashMap locations)
           
 
Method Summary
 void addSchemaLocation(java.lang.String format, java.net.URL location)
           
 java.lang.String exportAsXML()
          exports the capabilities as OGC WFS conform XML document
 Capability getCapability()
          A Capability lists available request types, how exceptions may be reported, and whether any vendor-specific capabilities are defined.
 ISO19119 getISO19119()
          returns the service metadata of the catalog
 java.net.URL getSchemaLocation(java.lang.String format)
          return the URL (location) of the schema definition for the submitted format
 void setCapabilitiesSource(java.lang.String capabilitiesSource)
           
 void setCapability(Capability capability)
           
 void setISO19119(ISO19119 iso19119)
           
 void setSchemaLocations(java.util.HashMap locations)
           
 
Methods inherited from class org.deegree_impl.services.capabilities.OGCWebServiceCapabilities_Impl
getService, getUpdateSequence, getVersion, setService, setUpdateSequence, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.services.capabilities.OGCWebServiceCapabilities
getService, getUpdateSequence, getVersion
 

Field Detail

capability

private Capability capability

iso19119

private ISO19119 iso19119

locations

private java.util.HashMap locations

capabilitiesSource

private java.lang.String capabilitiesSource
Constructor Detail

WCASCapabilities_Impl

WCASCapabilities_Impl(java.lang.String version,
                      java.lang.String updateSequence,
                      ISO19119 iso19119,
                      Capability capability,
                      java.util.HashMap locations)
Parameters:
version -
updateSequence -
iso19119 -
capability -
locations -
Method Detail

getCapability

public Capability getCapability()
A Capability lists available request types, how exceptions may be reported, and whether any vendor-specific capabilities are defined. It also lists all the feature types available from this feature server.

Specified by:
getCapability in interface WCASCapabilities

setCapability

public void setCapability(Capability capability)
See Also:
getCapability()

getISO19119

public ISO19119 getISO19119()
returns the service metadata of the catalog

Specified by:
getISO19119 in interface WCASCapabilities

setISO19119

public void setISO19119(ISO19119 iso19119)
See Also:
getISO19119()

getSchemaLocation

public java.net.URL getSchemaLocation(java.lang.String format)
return the URL (location) of the schema definition for the submitted format

Specified by:
getSchemaLocation in interface WCASCapabilities

setSchemaLocations

public void setSchemaLocations(java.util.HashMap locations)
See Also:
getSchemaLocation(String)

addSchemaLocation

public void addSchemaLocation(java.lang.String format,
                              java.net.URL location)
See Also:
getSchemaLocation(String)

setCapabilitiesSource

public void setCapabilitiesSource(java.lang.String capabilitiesSource)

exportAsXML

public java.lang.String exportAsXML()
exports the capabilities as OGC WFS conform XML document

Specified by:
exportAsXML in interface OGCWebServiceCapabilities