org.deegree.protocol.wfs.getfeature
Class GetFeatureXMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.protocol.wfs.AbstractWFSRequestXMLAdapter
          extended by org.deegree.protocol.wfs.query.QueryXMLAdapter
              extended by org.deegree.protocol.wfs.getfeature.GetFeatureXMLAdapter

public class GetFeatureXMLAdapter
extends QueryXMLAdapter

Adapter between XML GetFeature requests and GetFeature objects.

Supported WFS versions:

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

Field Summary
 
Fields inherited from class org.deegree.protocol.wfs.AbstractWFSRequestXMLAdapter
nsContext, WFS_200_PREFIX, WFS_PREFIX
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, rootElement, XLN_NS
 
Constructor Summary
GetFeatureXMLAdapter()
           
 
Method Summary
 GetFeature parse()
          Parses a WFS GetFeature document into a GetFeature object. * Supported WFS versions: 1.0.0 1.1.0 2.0.0
 GetFeature parse100()
          Parses a WFS 1.0.0 GetFeature document into a GetFeature object.
 GetFeature parse110()
          Parses a WFS 1.1.0 GetFeature document into a GetFeature object.
 GetFeature parse200()
          Parses a WFS 2.0.0 GetFeature document into a GetFeature object.
 
Methods inherited from class org.deegree.protocol.wfs.query.QueryXMLAdapter
parseAbstractQuery200, parseStandardPresentationParameters100, parseStandardPresentationParameters110, parseStandardPresentationParameters200, parseStandardResolveParameters110, parseStandardResolveParameters200
 
Methods inherited from class org.deegree.protocol.wfs.AbstractWFSRequestXMLAdapter
determineVersion110Safe
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetFeatureXMLAdapter

public GetFeatureXMLAdapter()
Method Detail

parse

public GetFeature parse()
                 throws Exception
Parses a WFS GetFeature document into a GetFeature object. *

Supported WFS versions:

Returns:
parsed GetFeature request, never null
Throws:
Exception
XMLParsingException - if a syntax error occurs in the XML
MissingParameterException - if the request version is unsupported
InvalidParameterValueException - if a parameter contains a syntax error

parse100

public GetFeature parse100()
Parses a WFS 1.0.0 GetFeature document into a GetFeature object.

Returns:
a GetFeature instance

parse110

public GetFeature parse110()
Parses a WFS 1.1.0 GetFeature document into a GetFeature object.

Returns:
a GetFeature instance

parse200

public GetFeature parse200()
                    throws OWSException
Parses a WFS 2.0.0 GetFeature document into a GetFeature object.

Returns:
corresponding GetFeature instance, never null
Throws:
OWSException


Copyright © 2011. All Rights Reserved.