org.apache.cxf.feature.transform
Class XSLTOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.feature.transform.AbstractXSLTInterceptor
org.apache.cxf.feature.transform.XSLTOutInterceptor
- 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 XSLTOutInterceptor
- extends AbstractXSLTInterceptor
Class provides XSLT transformation of outgoing message.
Actually it breaks streaming (can be fixed in further versions when XSLT engine supports XML stream)
| 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 |
XSLTOutInterceptor
public XSLTOutInterceptor(String xsltPath)
XSLTOutInterceptor
public XSLTOutInterceptor(String phase,
Class<?> before,
Class<?> after,
String xsltPath)
handleMessage
public void handleMessage(org.apache.cxf.message.Message message)
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)
Apache CXF