org.apache.cxf.interceptor
Class AbstractInDatabindingInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.AbstractInDatabindingInterceptor
- All Implemented Interfaces:
- Interceptor<Message>, PhaseInterceptor<Message>
- Direct Known Subclasses:
- BareInInterceptor, DispatchInDatabindingInterceptor, DocLiteralInInterceptor, RPCInInterceptor, SoapHeaderInterceptor, StaxDataBindingInterceptor, URIMappingInterceptor, WrappedInInterceptor, XMLFaultInInterceptor, XMLMessageInInterceptor
public abstract class AbstractInDatabindingInterceptor
- extends AbstractPhaseInterceptor<Message>
Method Summary |
protected MessagePartInfo |
findMessagePart(Exchange exchange,
java.util.Collection<OperationInfo> operations,
javax.xml.namespace.QName name,
boolean client,
int index)
Find the next possible message part in the message. |
protected BindingOperationInfo |
getBindingOperationInfo(Exchange exchange,
javax.xml.namespace.QName name,
boolean client)
Returns a BindingOperationInfo if the operation is indentified as
a wrapped method, return null if it is not a wrapped method
(i.e., it is a bare method) |
protected DataReader<javax.xml.stream.XMLStreamReader> |
getDataReader(Message message)
|
protected
|
getDataReader(Message message,
java.lang.Class<T> input)
|
protected MessageInfo |
getMessageInfo(Message message,
BindingOperationInfo operation)
|
protected MessageInfo |
getMessageInfo(Message message,
BindingOperationInfo operation,
boolean requestor)
|
protected DataReader<org.w3c.dom.Node> |
getNodeDataReader(Message message)
|
protected DepthXMLStreamReader |
getXMLStreamReader(Message message)
|
protected boolean |
isRequestor(Message message)
|
protected boolean |
supportsDataReader(Message message,
java.lang.Class<?> input)
|
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInDatabindingInterceptor
public AbstractInDatabindingInterceptor(java.lang.String phase)
AbstractInDatabindingInterceptor
public AbstractInDatabindingInterceptor(java.lang.String i,
java.lang.String phase)
isRequestor
protected boolean isRequestor(Message message)
supportsDataReader
protected boolean supportsDataReader(Message message,
java.lang.Class<?> input)
getDataReader
protected <T> DataReader<T> getDataReader(Message message,
java.lang.Class<T> input)
getDataReader
protected DataReader<javax.xml.stream.XMLStreamReader> getDataReader(Message message)
getNodeDataReader
protected DataReader<org.w3c.dom.Node> getNodeDataReader(Message message)
getXMLStreamReader
protected DepthXMLStreamReader getXMLStreamReader(Message message)
findMessagePart
protected MessagePartInfo findMessagePart(Exchange exchange,
java.util.Collection<OperationInfo> operations,
javax.xml.namespace.QName name,
boolean client,
int index)
- Find the next possible message part in the message. If an operation in
the list of operations is no longer a viable match, it will be removed
from the Collection.
- Parameters:
exchange
- operations
- name
- client
- index
-
- Returns:
getBindingOperationInfo
protected BindingOperationInfo getBindingOperationInfo(Exchange exchange,
javax.xml.namespace.QName name,
boolean client)
- Returns a BindingOperationInfo if the operation is indentified as
a wrapped method, return null if it is not a wrapped method
(i.e., it is a bare method)
- Parameters:
exchange
- name
- client
-
- Returns:
getMessageInfo
protected MessageInfo getMessageInfo(Message message,
BindingOperationInfo operation)
getMessageInfo
protected MessageInfo getMessageInfo(Message message,
BindingOperationInfo operation,
boolean requestor)
Apache CXF