org.deegree.services.csw.transaction
Class TransactionKVPAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.services.csw.AbstractCSWRequestXMLAdapter
          extended by org.deegree.services.csw.transaction.TransactionKVPAdapter

public class TransactionKVPAdapter
extends AbstractCSWRequestXMLAdapter

Adapter between KVP encoded Transaction requests and Transaction objects.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Field Summary
 
Fields inherited from class org.deegree.services.csw.AbstractCSWRequestXMLAdapter
RIM_NS, RIM_PREFIX, SOAP_10, SOAP_10_PREFIX
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
TransactionKVPAdapter()
           
 
Method Summary
static Transaction parse(Map<String,String> kvpParams)
          Parses a normalized KVP-map as a CSW Transaction request.
 
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

TransactionKVPAdapter

public TransactionKVPAdapter()
Method Detail

parse

public static Transaction parse(Map<String,String> kvpParams)
                         throws MissingParameterException,
                                InvalidParameterValueException
Parses a normalized KVP-map as a CSW Transaction request. Regarding to CSW specification OGC 07-006r1 there is no KVP support envisioned.

Supported versions:

Parameters:
kvpParams - normalized KVP-map; keys must be uppercase, each key only has one associated value
Returns:
parsed Transaction request
Throws:
MissingParameterException - if the request version is unsupported
InvalidParameterValueException - if a parameter contains a syntax error


Copyright © 2011. All Rights Reserved.