org.deegree.protocol.wfs.transaction
Class TransactionXMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.protocol.wfs.AbstractWFSRequestXMLAdapter
          extended by org.deegree.protocol.wfs.transaction.TransactionXMLAdapter

public class TransactionXMLAdapter
extends AbstractWFSRequestXMLAdapter

Adapter between XML encoded Transaction requests and Transaction objects.

Supported versions:

Version:
$Revision: 31773 $, $Date: 2011-09-06 14:13:05 +0200 (Tue, 06 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

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
TransactionXMLAdapter()
           
 
Method Summary
static Transaction parse(XMLStreamReader xmlStream)
          Parses a WFS Transaction document into a Transaction request.
static Transaction parse110(XMLStreamReader xmlStream)
          Parses a WFS 1.1.0 Transaction document into a Transaction request.
static PropertyReplacement parseProperty100(XMLStreamReader xmlStream)
           
 
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

TransactionXMLAdapter

public TransactionXMLAdapter()
Method Detail

parse

public static Transaction parse(XMLStreamReader xmlStream)
                         throws XMLStreamException
Parses a WFS Transaction document into a Transaction request.

Supported versions:

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

parse110

public static Transaction parse110(XMLStreamReader xmlStream)
                            throws XMLStreamException
Parses a WFS 1.1.0 Transaction document into a Transaction request.

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

parseProperty100

public static PropertyReplacement parseProperty100(XMLStreamReader xmlStream)
                                            throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.