org.n52.wps.transactional.handler
Class TransactionalRequestHandler

java.lang.Object
  extended by org.n52.wps.transactional.handler.TransactionalRequestHandler

public class TransactionalRequestHandler
extends java.lang.Object


Constructor Summary
TransactionalRequestHandler()
           
 
Method Summary
 TransactionalResponse handle(ITransactionalRequest request)
          Handles the request and returns a transactional response (if succeeded) or throws an exception (otherwise)
protected  void writeXmlFile(org.w3c.dom.Node node, java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalRequestHandler

public TransactionalRequestHandler()
Method Detail

handle

public TransactionalResponse handle(ITransactionalRequest request)
                             throws ExceptionReport
Handles the request and returns a transactional response (if succeeded) or throws an exception (otherwise)

Parameters:
request - the request to handle
Returns:
a response if the process has succeeded. null is never returned
Throws:
java.lang.Exception - if an error occurs handling the request
ExceptionReport

writeXmlFile

protected void writeXmlFile(org.w3c.dom.Node node,
                            java.lang.String filename)
                     throws java.io.IOException,
                            javax.xml.transform.TransformerFactoryConfigurationError,
                            javax.xml.transform.TransformerException,
                            javax.xml.parsers.ParserConfigurationException
Throws:
java.io.IOException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException


Copyright © 2007-2011 52north.org. All Rights Reserved.