org.deegree.ogcwebservices.wcts.capabilities
Class WCTSCapabilitiesDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.owscommon_1_1_0.CommonsDocument
org.deegree.owscommon_1_1_0.OWSCommonCapabilitiesDocument
org.deegree.ogcwebservices.wcts.capabilities.WCTSCapabilitiesDocument
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- WCTSConfigurationDocument
public class WCTSCapabilitiesDocument
- extends OWSCommonCapabilitiesDocument
WCTSCapabilitiesDocument
parses a given wcts:Capabilities document version 0.4.0, with ows:Common
1.1.0 and csw 1.2.0.
- Version:
- $Revision:$, $Date:$
- Author:
- Rutger Bezema, last edited by: $Author:$
- See Also:
- Serialized Form
Methods inherited from class org.deegree.owscommon_1_1_0.CommonsDocument |
parseBasicIdentificationType, parseContactInfo, parseDomainMetadataType, parseDomainMetadataTypes, parseDomainType, parseHTTPChild, parseIdentifier, parseKeywords, parseMetadata, parseMetadatas, parseOperations, parseServiceContact |
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 |
WCTSCapabilitiesDocument
public WCTSCapabilitiesDocument()
createEmptyDocument
public void createEmptyDocument()
- Creates a wcts 0.4.0 capabilities document with the rootnode set to wcts:Capabilities.
parseCapabilities
public OGCCapabilities parseCapabilities(java.lang.String configuredProvider)
throws InvalidCapabilitiesException
- Parameters:
configuredProvider
- the crs provider to be used for creation of CRS's (found in the deegreeparams section of the
configuration). If null
the default configured provider will be used.
- Returns:
- the OGCCapabilities parsed from the root node.
- Throws:
InvalidCapabilitiesException
parseVersion
public java.lang.String parseVersion()
throws InvalidCapabilitiesException
- Returns:
- the mandatory version string.
- Throws:
InvalidCapabilitiesException
- with code INVALIDPARAMETERVALUE, if the attribute was not given.
parseUpdateSequence
public java.lang.String parseUpdateSequence()
- Returns:
- the optional updateSeqequence String.
parseContents
protected Content parseContents(java.lang.String configuredProvider)
throws XMLParsingException,
UnknownCRSException
- Parses the optional wcts:Content element of the wcts:Capabilities element.
- Parameters:
configuredProvider
- the crs provider to be used for creation of CRS's (found in the deegreeparams section of the
configuration). If null
the default configured provider will be used.
- Returns:
- the content bean representation
- Throws:
XMLParsingException
UnknownCRSException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org