org.deegree.protocol.wfs
Class AbstractWFSRequestXMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.protocol.wfs.AbstractWFSRequestXMLAdapter
Direct Known Subclasses:
CreateStoredQueryXMLAdapter, DescribeFeatureTypeXMLAdapter, DescribeStoredQueriesXMLAdapter, DropStoredQueryXMLAdapter, GetFeatureWithLockXMLAdapter, GetGmlObjectXMLAdapter, ListStoredQueriesXMLAdapter, LockFeatureXMLAdapter, QueryXMLAdapter, TransactionXMLAdapter

public abstract class AbstractWFSRequestXMLAdapter
extends XMLAdapter

Provides basic functionality for parsing WFS XML requests.

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

Field Summary
protected static NamespaceBindings nsContext
          Namespace context with predefined bindings "wfs" and "wfs200"
protected static String WFS_200_PREFIX
          Namespace binding for WFS 2.0.0 constructs
protected static String WFS_PREFIX
          Namespace binding for WFS 1.0.0 and WFS 1.1.0 constructs
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, rootElement, XLN_NS
 
Constructor Summary
AbstractWFSRequestXMLAdapter()
           
 
Method Summary
protected  Version determineVersion110Safe()
          Returns the protocol version for the given WFS request element based on the value of the version attribute (for WFS 1.1.0, this attribute is optional and thus it is assumed that missing implies 1.1.0).
 
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
 

Field Detail

nsContext

protected static final NamespaceBindings nsContext
Namespace context with predefined bindings "wfs" and "wfs200"


WFS_PREFIX

protected static final String WFS_PREFIX
Namespace binding for WFS 1.0.0 and WFS 1.1.0 constructs

See Also:
Constant Field Values

WFS_200_PREFIX

protected static final String WFS_200_PREFIX
Namespace binding for WFS 2.0.0 constructs

See Also:
Constant Field Values
Constructor Detail

AbstractWFSRequestXMLAdapter

public AbstractWFSRequestXMLAdapter()
Method Detail

determineVersion110Safe

protected Version determineVersion110Safe()
Returns the protocol version for the given WFS request element based on the value of the version attribute (for WFS 1.1.0, this attribute is optional and thus it is assumed that missing implies 1.1.0).

Returns:
protocol version based on version attribute (if missing and namespace is WFS 1.0.0/1.1.0, version is assumed to be 1.1.0)


Copyright © 2011. All Rights Reserved.