org.deegree.services.wps.execute
Class ExecuteRequestXMLAdapter
java.lang.Object
org.deegree.commons.xml.XMLAdapter
org.deegree.protocol.ows.OWSCommonXMLAdapter
org.deegree.services.wps.execute.ExecuteRequestXMLAdapter
public class ExecuteRequestXMLAdapter
- extends OWSCommonXMLAdapter
Parser and validator for incoming WPS Execute
XML requests.
Besides the general syntax, the following aspects are validated during parsing:
- Process identifier: must refer to a known process
p
- Input parameters: each present input parameter must be defined in the definition of
p
- Output parameters: TBD
In case of a detected error, an appropriate OWSException
is thrown.
- Version:
- $Revision: 31688 $, $Date: 08.05.2008 13:53:13$
- Author:
- Alexander Padberg, Markus Schneider, last edited by: $Author: padberg$
Methods inherited from class org.deegree.commons.xml.XMLAdapter |
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBigInt, 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, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute |
ExecuteRequestXMLAdapter
public ExecuteRequestXMLAdapter(Map<CodeType,WPSProcess> idToProcess,
StorageManager storageManager)
- Creates a new
ExecuteRequestXMLAdapter
for parsing execute requests for the submitted processes.
- Parameters:
idToProcess
- key: process identifier, value: processstorageManager
-
parse100
public ExecuteRequest parse100()
throws OWSException,
UnknownCRSException
- Parses the encapsulated WPS 1.0.0 <
wps:ExecuteRequest
> element.
Prerequisites (not checked by this method):
- The name of the encapsulated element is <
wps:ExecuteRequest
>
(wps="http://www.opengis.net/wps/1.0.0").
- The value of the
version
attribute of the element is 1.0.0
.
- Returns:
- corresponding
ExecuteRequest
object
- Throws:
XMLParsingException
- if a syntactical or semantical error has been encountered in the request document
OWSException
UnknownCRSException
Copyright © 2011. All Rights Reserved.