deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.getcapabilities
Class OGCCapabilitiesDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcbase.OGCDocument
          extended by org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OGCStandardCapabilitiesDocument, OWSCommonCapabilitiesDocument, WFSCapabilitiesDocument_1_0_0, WMSCapabilitiesDocument

public abstract class OGCCapabilitiesDocument
extends OGCDocument

Most basic capabilities document for any OGC service instance.

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

Field Summary
protected static java.net.URI OGCNS
           
 
Fields inherited from class org.deegree.ogcbase.OGCDocument
GMLNS
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
OGCCapabilitiesDocument()
           
 
Method Summary
protected  Address parseAddress(org.w3c.dom.Element element, java.net.URI namespaceURI)
          Creates an Address instance from the passed element.
abstract  OGCCapabilities parseCapabilities()
          Creates a class representation of the document.
protected  MetadataLink parseMetadataLink(org.w3c.dom.Element element)
          Creates a MetadataLink instance from the passed element.
protected  Phone parsePhone(org.w3c.dom.Element element, java.net.URI namespaceURI)
          Creates a Phone instance from the passed element.
 java.lang.String parseUpdateSequence()
          Returns the value of the updateSequence attribute of the capabilities document.
 java.lang.String parseVersion()
          Returns the value of the version attribute of the capabilities document.
 
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

OGCNS

protected static final java.net.URI OGCNS
Constructor Detail

OGCCapabilitiesDocument

public OGCCapabilitiesDocument()
Method Detail

parseVersion

public java.lang.String parseVersion()
Returns the value of the version attribute of the capabilities document.

Returns:
the value of the version attribute of the capabilities document.

parseUpdateSequence

public java.lang.String parseUpdateSequence()
Returns the value of the updateSequence attribute of the capabilities document.

Returns:
the value of the updateSequence attribute of the capabilities document.

parseMetadataLink

protected MetadataLink parseMetadataLink(org.w3c.dom.Element element)
                                  throws XMLParsingException
Creates a MetadataLink instance from the passed element.

Parameters:
element -
Returns:
created MetadataLink
Throws:
XMLParsingException

parseCapabilities

public abstract OGCCapabilities parseCapabilities()
                                           throws InvalidCapabilitiesException
Creates a class representation of the document.

Returns:
class representation of the document
Throws:
InvalidCapabilitiesException

parseAddress

protected Address parseAddress(org.w3c.dom.Element element,
                               java.net.URI namespaceURI)
Creates an Address instance from the passed element.

Parameters:
element - Address-element
namespaceURI - namespace-prefix of all elements
Returns:
the new instance

parsePhone

protected Phone parsePhone(org.w3c.dom.Element element,
                           java.net.URI namespaceURI)
Creates a Phone instance from the passed element.

Parameters:
element - Phone-element
namespaceURI - URI that all elements must have
Returns:
the new instance

deegree 2.5 (2011/06/29 09:44 build-8-official)

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