Package 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:
- ClientFaultConverter,- StaxDataBindingInterceptor
 
 public abstract class AbstractInDatabindingInterceptor extends AbstractPhaseInterceptor<Message> 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringNO_VALIDATE_PARTS
 - 
Constructor SummaryConstructors Constructor Description AbstractInDatabindingInterceptor(String phase)AbstractInDatabindingInterceptor(String i, String phase)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessagePartInfofindMessagePart(Exchange exchange, Collection<OperationInfo> operations, QName name, boolean client, int index, Message message)Find the next possible message part in the message.protected BindingOperationInfogetBindingOperationInfo(Exchange exchange, 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<XMLStreamReader>getDataReader(Message message)protected <T> DataReader<T>getDataReader(Message message, Class<T> input)protected MessageInfogetMessageInfo(Message message, BindingOperationInfo operation)protected MessageInfogetMessageInfo(Message message, BindingOperationInfo operation, boolean requestor)protected DataReader<Node>getNodeDataReader(Message message)protected DepthXMLStreamReadergetXMLStreamReader(Message message)protected voidsetDataReaderValidation(Service service, Message message, DataReader<?> reader)Based on the Schema Validation configuration, will initialise the DataReader with or without the schema set.protected MessageInfosetMessage(Message message, BindingOperationInfo operation, boolean requestor, ServiceInfo si, MessageInfo msgInfo)protected voidsetOperationSchemaValidation(Message message)protected booleanshouldValidate(Message message)protected booleansupportsDataReader(Message message, Class<?> input)- 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptoraddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.cxf.interceptor.InterceptorhandleMessage
 
- 
 
- 
- 
- 
Field Detail- 
NO_VALIDATE_PARTSpublic static final String NO_VALIDATE_PARTS 
 
- 
 - 
Method Detail- 
getDataReaderprotected <T> DataReader<T> getDataReader(Message message, Class<T> input) 
 - 
getDataReaderprotected DataReader<XMLStreamReader> getDataReader(Message message) 
 - 
getNodeDataReaderprotected DataReader<Node> getNodeDataReader(Message message) 
 - 
shouldValidateprotected boolean shouldValidate(Message message) 
 - 
setDataReaderValidationprotected void setDataReaderValidation(Service service, Message message, DataReader<?> reader) Based on the Schema Validation configuration, will initialise the DataReader with or without the schema set. Can also be called to override schema validation at operation level, thus the reader.setSchema(null) to remove schema validation
 - 
setOperationSchemaValidationprotected void setOperationSchemaValidation(Message message) 
 - 
getXMLStreamReaderprotected DepthXMLStreamReader getXMLStreamReader(Message message) 
 - 
findMessagePartprotected MessagePartInfo findMessagePart(Exchange exchange, Collection<OperationInfo> operations, QName name, boolean client, int index, Message message) 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-
 
 - 
setMessageprotected MessageInfo setMessage(Message message, BindingOperationInfo operation, boolean requestor, ServiceInfo si, MessageInfo msgInfo) 
 - 
getBindingOperationInfoprotected BindingOperationInfo getBindingOperationInfo(Exchange exchange, 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-
 
 - 
getMessageInfoprotected MessageInfo getMessageInfo(Message message, BindingOperationInfo operation) 
 - 
getMessageInfoprotected MessageInfo getMessageInfo(Message message, BindingOperationInfo operation, boolean requestor) 
 
- 
 
-