Class QNameStrategy
java.lang.Object
org.apache.camel.dataformat.soap.name.QNameStrategy
- All Implemented Interfaces:
ElementNameStrategy
Simply ElementNameStrategy that returns one preset QName. This can be handy for simple asynchronous calls
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindExceptionForFaultName(QName faultName) Determine exception class for given SOAP Fault QNamefindExceptionForSoapActionAndFaultName(String soapAction, QName faultName) Determine exception class for given SOAP Action and Fault QNamefindQNameForSoapActionOrType(String soapAction, Class<?> type) Deterimine element name for given type
-
Constructor Details
-
QNameStrategy
Initialize with one QName- Parameters:
elmentName- QName to be used for all finds
-
-
Method Details
-
findQNameForSoapActionOrType
Description copied from interface:ElementNameStrategyDeterimine element name for given type- Specified by:
findQNameForSoapActionOrTypein interfaceElementNameStrategy- Returns:
- preset element name
-
findExceptionForFaultName
Description copied from interface:ElementNameStrategyDetermine exception class for given SOAP Fault QName- Specified by:
findExceptionForFaultNamein interfaceElementNameStrategy- Returns:
-
findExceptionForSoapActionAndFaultName
public Class<? extends Exception> findExceptionForSoapActionAndFaultName(String soapAction, QName faultName) Description copied from interface:ElementNameStrategyDetermine exception class for given SOAP Action and Fault QName- Specified by:
findExceptionForSoapActionAndFaultNamein interfaceElementNameStrategy- Returns:
-