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

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.getfeature.GetFeatureXMLAdapter

public class GetFeatureXMLAdapter
extends AbstractWFSRequestXMLAdapter

Adapter between XML GetFeature requests and GetFeature objects.

TODO code for exporting to XML

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(Version version)
          Parses a WFS GetFeature document into a GetFeature object.
 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.
 
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

GetFeatureXMLAdapter

public GetFeatureXMLAdapter()
Method Detail

parse

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

Supported versions:

Parameters:
version - version of the request, may be null (in that case, a version attribute must be present in the root element)
Returns:
parsed GetFeature request
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

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

]]>