org.deegree.protocol.wfs.describefeaturetype
Class DescribeFeatureTypeXMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.protocol.wfs.AbstractWFSRequestXMLAdapter
          extended by org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureTypeXMLAdapter

public class DescribeFeatureTypeXMLAdapter
extends AbstractWFSRequestXMLAdapter

Adapter between XML DescribeFeatureType requests and DescribeFeatureType objects.

Supported 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
DescribeFeatureTypeXMLAdapter()
           
 
Method Summary
 DescribeFeatureType parse()
          Parses an WFS DescribeFeatureType document into a DescribeFeatureType request.
 DescribeFeatureType parse100()
          Parses a WFS 1.0.0 DescribeFeatureType document into a DescribeFeatureType request.
 DescribeFeatureType parse110()
          Parses a WFS 1.1.0 DescribeFeatureType document into a DescribeFeatureType request.
 DescribeFeatureType parse200()
          Parses a WFS 2.0.0 DescribeFeatureType document into a DescribeFeatureType request.
 
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

DescribeFeatureTypeXMLAdapter

public DescribeFeatureTypeXMLAdapter()
Method Detail

parse

public DescribeFeatureType parse()
Parses an WFS DescribeFeatureType document into a DescribeFeatureType request.

Supported versions:

Returns:
parsed DescribeFeatureType request
Throws:
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 DescribeFeatureType parse100()
                             throws XMLParsingException,
                                    InvalidParameterValueException
Parses a WFS 1.0.0 DescribeFeatureType document into a DescribeFeatureType request.

Returns:
parsed DescribeFeatureType request
Throws:
XMLParsingException - if a syntax error occurs in the XML
InvalidParameterValueException - if a parameter contains a syntax error

parse110

public DescribeFeatureType parse110()
                             throws XMLParsingException,
                                    InvalidParameterValueException
Parses a WFS 1.1.0 DescribeFeatureType document into a DescribeFeatureType request.

Returns:
parsed DescribeFeatureType request
Throws:
XMLParsingException - if a syntax error occurs in the XML
InvalidParameterValueException - if a parameter contains a syntax error

parse200

public DescribeFeatureType parse200()
                             throws XMLParsingException,
                                    InvalidParameterValueException
Parses a WFS 2.0.0 DescribeFeatureType document into a DescribeFeatureType request.

Returns:
parsed DescribeFeatureType request
Throws:
XMLParsingException - if a syntax error occurs in the XML
InvalidParameterValueException - if a parameter contains a syntax error


Copyright © 2011. All Rights Reserved.