Class TransformOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.transform.TransformOutInterceptor
- All Implemented Interfaces:
Interceptor<Message>
,PhaseInterceptor<Message>
Creates an XMLStreamReader from the InputStream on the Message.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected XMLStreamWriter
createTransformWriterIfNeeded
(XMLStreamWriter writer, OutputStream os) void
handleFault
(Message message) Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.void
handleMessage
(Message message) Intercepts a message.protected boolean
isHttpVerbSupported
(Message message) void
setAttributesToElements
(boolean value) void
setContextPropertyName
(String propertyName) void
setDefaultNamespace
(String defaultNamespace) void
setOutAppendElements
(Map<String, String> map) void
setOutDropElements
(List<String> dropElementsSet) void
setOutTransformAttributes
(Map<String, String> outAttributes) void
setOutTransformElements
(Map<String, String> outElements) void
setSkipOnFault
(boolean value) Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
TransformOutInterceptor
public TransformOutInterceptor() -
TransformOutInterceptor
-
-
Method Details
-
handleFault
Description copied from interface:Interceptor
Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.- Specified by:
handleFault
in interfaceInterceptor<Message>
- Overrides:
handleFault
in classAbstractPhaseInterceptor<Message>
-
handleMessage
Description copied from interface:Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this. -
createTransformWriterIfNeeded
-
setOutTransformElements
-
setOutAppendElements
-
setOutDropElements
-
setOutTransformAttributes
-
setAttributesToElements
public void setAttributesToElements(boolean value) -
setSkipOnFault
public void setSkipOnFault(boolean value) -
isHttpVerbSupported
-
setContextPropertyName
-
setDefaultNamespace
-