Package org.apache.cxf.feature.transform
Class XSLTOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.feature.transform.AbstractXSLTInterceptor
org.apache.cxf.feature.transform.XSLTOutInterceptor
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
Class provides XSLT transformation of outgoing message.
Actually it breaks streaming (can be fixed in further versions when XSLT engine supports XML stream)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionXSLTOutInterceptor(String xsltPath) XSLTOutInterceptor(String phase, Class<?> before, Class<?> after, String xsltPath) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(Message message) Intercepts a message.protected voidtransformOS(Message message, OutputStream out) protected voidtransformWriter(Message message, Writer writer) protected voidtransformXWriter(Message message, XMLStreamWriter xWriter) Methods inherited from class org.apache.cxf.feature.transform.AbstractXSLTInterceptor
checkContextProperty, getXSLTTemplate, setContextPropertyNameMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
XSLTOutInterceptor
-
XSLTOutInterceptor
-
-
Method Details
-
handleMessage
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this. -
transformXWriter
-
transformOS
-
transformWriter
-