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

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.

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
DescribeFeatureTypeXMLAdapter()
           
 
Method Summary
 DescribeFeatureType parse(Version version)
          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.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

DescribeFeatureTypeXMLAdapter

public DescribeFeatureTypeXMLAdapter()
Method Detail

parse

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

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 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

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

]]>