org.apache.synapse.processors.builtin.xslt
Class XSLTProcessor

java.lang.Object
  extended byorg.apache.synapse.processors.AbstractProcessor
      extended byorg.apache.synapse.processors.builtin.xslt.XSLTProcessor
All Implemented Interfaces:
Processor

public class XSLTProcessor
extends AbstractProcessor

See Also:

This class is the class that transforms messages using XSLT.


Constructor Summary
XSLTProcessor()
           
 
Method Summary
 boolean process(SynapseEnvironment se, SynapseMessage smc)
          This method is used to process a message.
 void setIsBody(boolean b)
           
 void setXSLInputStream(java.io.InputStream is)
           
 
Methods inherited from class org.apache.synapse.processors.AbstractProcessor
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTProcessor

public XSLTProcessor()
Method Detail

process

public boolean process(SynapseEnvironment se,
                       SynapseMessage smc)
Description copied from interface: Processor
This method is used to process a message. A response of true indicates continue processing. A response of false indicates to stop processing.


setIsBody

public void setIsBody(boolean b)
Parameters:
b -

If isBody is true then the XSLT is applied to the Body of the SOAP message, otherwise to the whole env


setXSLInputStream

public void setXSLInputStream(java.io.InputStream is)
Parameters:
is -

This sets the correct XSL transform