org.talend.esb.policy.transformation.interceptor.xslt
Class HttpAwareXSLTOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.talend.esb.policy.transformation.interceptor.xslt.AbstractHttpAwareXSLTInterceptor
          extended by org.talend.esb.policy.transformation.interceptor.xslt.HttpAwareXSLTOutInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>

public class HttpAwareXSLTOutInterceptor
extends AbstractHttpAwareXSLTInterceptor


Nested Class Summary
static class HttpAwareXSLTOutInterceptor.XSLTCachedOutputStreamCallback
           
static class HttpAwareXSLTOutInterceptor.XSLTCachedWriter
           
static class HttpAwareXSLTOutInterceptor.XSLTStreamWriter
           
 
Constructor Summary
HttpAwareXSLTOutInterceptor(String xsltPath)
           
HttpAwareXSLTOutInterceptor(String phase, Class<?> before, Class<?> after, String xsltPath)
           
 
Method Summary
 void performTransformation(org.apache.cxf.message.Message message)
           
protected  void transformOS(org.apache.cxf.message.Message message, OutputStream out)
           
protected  void transformWriter(org.apache.cxf.message.Message message, Writer writer)
           
protected  void transformXWriter(org.apache.cxf.message.Message message, XMLStreamWriter xWriter)
           
 
Methods inherited from class org.talend.esb.policy.transformation.interceptor.xslt.AbstractHttpAwareXSLTInterceptor
checkContextProperty, getXSLTTemplate, handleMessage, setContextPropertyName
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpAwareXSLTOutInterceptor

public HttpAwareXSLTOutInterceptor(String xsltPath)

HttpAwareXSLTOutInterceptor

public HttpAwareXSLTOutInterceptor(String phase,
                                   Class<?> before,
                                   Class<?> after,
                                   String xsltPath)
Method Detail

performTransformation

public void performTransformation(org.apache.cxf.message.Message message)
Specified by:
performTransformation in class AbstractHttpAwareXSLTInterceptor

transformXWriter

protected void transformXWriter(org.apache.cxf.message.Message message,
                                XMLStreamWriter xWriter)

transformOS

protected void transformOS(org.apache.cxf.message.Message message,
                           OutputStream out)

transformWriter

protected void transformWriter(org.apache.cxf.message.Message message,
                               Writer writer)


Copyright © 2011–2014 Talend Inc.. All rights reserved.