deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.protocol.ows.capabilities
Class GetCapabilitiesXMLParser

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.protocol.ows.OWSCommonXMLAdapter
          extended by org.deegree.protocol.ows.capabilities.GetCapabilitiesXMLParser
Direct Known Subclasses:
GetCapabilitiesXMLAdapter

public class GetCapabilitiesXMLParser
extends OWSCommonXMLAdapter

Parser for OWS/OGC GetCapabilities requests (XML).

Handles GetCapabilities documents that are compliant to the following specifications:

Evaluates the language attribute for requests to multilingual services according to OWS Common change request OGC 08-016r2. This is used by the WPS Specification 1.0.0.

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Field Summary
 
Fields inherited from class org.deegree.protocol.ows.OWSCommonXMLAdapter
OWS_NS, OWS_PREFIX, OWS110_NS, OWS110_PREFIX, XML_NS, XML_PREFIX
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
GetCapabilitiesXMLParser()
          Create a new GetCapabilitiesXMLParser without an XML source.
GetCapabilitiesXMLParser(org.apache.axiom.om.OMElement rootElement)
          Create a new GetCapabilitiesXMLParser for the given root element.
 
Method Summary
 GetCapabilities parse100()
          Parses an OWS 1.0.0 GetCapabilitiesType into a GetCapabilities object.
 GetCapabilities parse110()
          Parses an OWS 1.1.0 GetCapabilitiesType into a GetCapabilities object.
 
Methods inherited from class org.deegree.protocol.ows.OWSCommonXMLAdapter
exportBoundingBoxType, exportBoundingBoxType110, exportCoordinateList, exportPositionType, parseBoundingBoxType
 
Methods inherited from class org.deegree.commons.xml.XMLAdapter
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBoolean, getNodeAsDouble, getNodeAsFloat, getNodeAsInt, getNodeAsQName, getNodeAsString, getNodeAsURL, getNodeAsVersion, getNodes, getNodesAsQNames, getNodesAsStrings, getRequiredElement, getRequiredElements, getRequiredNode, getRequiredNodeAsBoolean, getRequiredNodeAsDouble, getRequiredNodeAsFloat, getRequiredNodeAsInteger, getRequiredNodeAsQName, getRequiredNodeAsString, getRequiredNodeAsURL, getRequiredNodeAsVersion, getRequiredNodes, getRootElement, getSchemas, getSystemId, hasSchemas, load, load, load, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetCapabilitiesXMLParser

public GetCapabilitiesXMLParser()
Create a new GetCapabilitiesXMLParser without an XML source.


GetCapabilitiesXMLParser

public GetCapabilitiesXMLParser(org.apache.axiom.om.OMElement rootElement)
Create a new GetCapabilitiesXMLParser for the given root element.

Parameters:
rootElement - the root element of the GetCapabilities request
Method Detail

parse100

public GetCapabilities parse100()
                         throws XMLParsingException
Parses an OWS 1.0.0 GetCapabilitiesType into a GetCapabilities object.

Returns:
GetCapabilities object corresponding to the input document
Throws:
XMLParsingException - if the document contains syntactic or semantic errors

parse110

public GetCapabilities parse110()
                         throws XMLParsingException
Parses an OWS 1.1.0 GetCapabilitiesType into a GetCapabilities object.

Returns:
GetCapabilities object corresponding to the input document
Throws:
XMLParsingException - if the document contains syntactic or semantic errors

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>