org.codehaus.activesoap.handler
Class TransformHandler

java.lang.Object
  extended byorg.codehaus.activesoap.handler.TransformHandler
All Implemented Interfaces:
Handler

public class TransformHandler
extends Object
implements Handler

Pipes the input into some kind of transformer to generate the response

Version:
$Revision: 1.4 $

Constructor Summary
TransformHandler(TransformerFactory transformerFactory)
           
 
Method Summary
protected  Transformer getTransformer()
           
 void invoke(MessageExchange exchange)
          Handles the processing of an XML message which is typically a SOAP body element or header element but could be an entire REST XML service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformHandler

public TransformHandler(TransformerFactory transformerFactory)
Method Detail

invoke

public void invoke(MessageExchange exchange)
            throws Exception
Description copied from interface: Handler
Handles the processing of an XML message which is typically a SOAP body element or header element but could be an entire REST XML service.

Specified by:
invoke in interface Handler
Parameters:
exchange - is the message exchange which can be used to accesss message-specific attributes to communicate between different handlers in a loose coupled way or to access service specific details such as the SOAP roles and encodings etc.
Throws:
Exception

getTransformer

protected Transformer getTransformer()
                              throws TransformerConfigurationException
Throws:
TransformerConfigurationException


Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.