org.apache.cxf.interceptor
Class StaxOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.apache.cxf.interceptor.StaxOutInterceptor
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 StaxOutInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>

Creates an XMLStreamReader from the InputStream on the Message.


Field Summary
static StaxOutEndingInterceptor ENDING
           
static String FORCE_START_DOCUMENT
           
static String OUTPUT_STREAM_HOLDER
           
 
Constructor Summary
StaxOutInterceptor()
           
 
Method Summary
static javax.xml.stream.XMLOutputFactory getXMLOutputFactory(org.apache.cxf.message.Message m)
           
 void handleFault(org.apache.cxf.message.Message message)
           
 void handleMessage(org.apache.cxf.message.Message message)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_STREAM_HOLDER

public static final String OUTPUT_STREAM_HOLDER

FORCE_START_DOCUMENT

public static final String FORCE_START_DOCUMENT
See Also:
Constant Field Values

ENDING

public static final StaxOutEndingInterceptor ENDING
Constructor Detail

StaxOutInterceptor

public StaxOutInterceptor()
Method Detail

handleMessage

public void handleMessage(org.apache.cxf.message.Message message)

handleFault

public void handleFault(org.apache.cxf.message.Message message)
Specified by:
handleFault in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
Overrides:
handleFault in class org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>

getXMLOutputFactory

public static javax.xml.stream.XMLOutputFactory getXMLOutputFactory(org.apache.cxf.message.Message m)
                                                             throws org.apache.cxf.interceptor.Fault
Throws:
org.apache.cxf.interceptor.Fault


Apache CXF