Class TypeNameStrategy
java.lang.Object
org.apache.camel.dataformat.soap.name.TypeNameStrategy
- All Implemented Interfaces:
ElementNameStrategy
Strategy to determine the marshalled element name by looking at the annotations of the class to be marshalled
-
Constructor Summary
-
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
-
TypeNameStrategy
public TypeNameStrategy()
-
-
Method Details
-
findQNameForSoapActionOrType
Description copied from interface:ElementNameStrategy
Deterimine element name for given type- Specified by:
findQNameForSoapActionOrType
in interfaceElementNameStrategy
- Returns:
- determine element name by using the XmlType.name() of the type to be marshalled and the XmlSchema.namespace() of the package-info
-
findExceptionForFaultName
Description copied from interface:ElementNameStrategy
Determine exception class for given SOAP Fault QName- Specified by:
findExceptionForFaultName
in interfaceElementNameStrategy
- Returns:
-
findExceptionForSoapActionAndFaultName
public Class<? extends Exception> findExceptionForSoapActionAndFaultName(String soapAction, QName faultName) Description copied from interface:ElementNameStrategy
Determine exception class for given SOAP Action and Fault QName- Specified by:
findExceptionForSoapActionAndFaultName
in interfaceElementNameStrategy
- Returns:
-