deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wcs.getcapabilities
Class WCSCapabilitiesDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcbase.OGCDocument
          extended by org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
              extended by org.deegree.ogcwebservices.getcapabilities.OGCStandardCapabilitiesDocument
                  extended by org.deegree.ogcwebservices.wcs.getcapabilities.WCSCapabilitiesDocument
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WCSConfigurationDocument

public class WCSCapabilitiesDocument
extends OGCStandardCapabilitiesDocument

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth , last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
protected static URI DGRNS
          deegree WCS namespace
protected static URI WCSNS
          WCS namespace
static String XML_TEMPLATE
          the WCSCapabilities xml template filename
 
Fields inherited from class org.deegree.ogcwebservices.getcapabilities.OGCStandardCapabilitiesDocument
GMLNS, OGCNS
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
WCSCapabilitiesDocument()
           
 
Method Summary
 void createEmptyDocument()
           
protected  Address parseAddress(Element element, URI namespaceURI)
          Creates an Address instance from the passed element.
 OGCCapabilities parseCapabilities()
          Creates a class representation of the document.
 ContentMetadata parseContentMetadataSection()
          returns the contentMetadata section of the WCS configuration/capabilities
protected  CoverageOfferingBrief parseCoverageOfferingBrief(Element element)
          creates a CoverageOfferingBrief object from the passed element encapsulating one CoverageOfferingBrief part of the WCS ContentMetadata section
protected  OperationsMetadata parseOperations(Element element, URI namespaceURI)
          creates a Request object (instance of WCSCapabilityRequest) from the passed element encapsulating the Request part of the WCS Capabiliy section
 Service parseServiceSection()
          returns the service section of the WCS configuration/capabilities
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCStandardCapabilitiesDocument
getCapabilitySection, getDCPType, getDCPTypes, getExceptionFormat, parseMetadataLink, parseVersion
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
parsePhone, parseUpdateSequence
 
Methods inherited from class org.deegree.ogcbase.OGCDocument
parseCodeList, parseCodeListArray, parseExtendedPropertyPath, parseInterval, parseKeywords, parseKeywords, parseLonLatEnvelope, parseOnLineResource, parsePropertyPath, parseTimePeriod, parseTimePeriods, parseTimePositions, parseTimeSequence, parseTypedLiteral, parseValues
 
Methods inherited from class org.deegree.framework.xml.XMLFragment
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_TEMPLATE

public static final String XML_TEMPLATE
the WCSCapabilities xml template filename

See Also:
Constant Field Values

WCSNS

protected static URI WCSNS
WCS namespace


DGRNS

protected static URI DGRNS
deegree WCS namespace

Constructor Detail

WCSCapabilitiesDocument

public WCSCapabilitiesDocument()
Method Detail

createEmptyDocument

public void createEmptyDocument()
                         throws IOException,
                                SAXException
Throws:
IOException
SAXException

parseCapabilities

public OGCCapabilities parseCapabilities()
                                  throws InvalidCapabilitiesException
Description copied from class: OGCCapabilitiesDocument
Creates a class representation of the document.

Specified by:
parseCapabilities in class OGCCapabilitiesDocument
Returns:
class representation of the document
Throws:
InvalidCapabilitiesException

parseServiceSection

public Service parseServiceSection()
                            throws InvalidCapabilitiesException
returns the service section of the WCS configuration/capabilities

Returns:
created CapabilitiesService
Throws:
InvalidCapabilitiesException

parseContentMetadataSection

public ContentMetadata parseContentMetadataSection()
                                            throws InvalidCapabilitiesException
returns the contentMetadata section of the WCS configuration/capabilities

Returns:
the content metadata
Throws:
InvalidCapabilitiesException

parseAddress

protected Address parseAddress(Element element,
                               URI namespaceURI)
Creates an Address instance from the passed element.

Overrides:
parseAddress in class OGCCapabilitiesDocument
Parameters:
element - Address-element
namespaceURI - namespace-prefix of all elements
Returns:
the parsed Address

parseOperations

protected OperationsMetadata parseOperations(Element element,
                                             URI namespaceURI)
                                      throws XMLParsingException
creates a Request object (instance of WCSCapabilityRequest) from the passed element encapsulating the Request part of the WCS Capabiliy section

Specified by:
parseOperations in class OGCStandardCapabilitiesDocument
Parameters:
element -
Returns:
created Request
Throws:
XMLParsingException

parseCoverageOfferingBrief

protected CoverageOfferingBrief parseCoverageOfferingBrief(Element element)
                                                    throws XMLParsingException,
                                                           OGCWebServiceException,
                                                           OGCException
creates a CoverageOfferingBrief object from the passed element encapsulating one CoverageOfferingBrief part of the WCS ContentMetadata section

Parameters:
element -
Returns:
created CoverageOfferingBrief
Throws:
XMLParsingException
OGCWebServiceException
OGCException

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org