Class SuffixBasedMessagesProvider
java.lang.Object
org.springframework.ws.wsdl.wsdl11.provider.DefaultMessagesProvider
org.springframework.ws.wsdl.wsdl11.provider.SuffixBasedMessagesProvider
- All Implemented Interfaces:
MessagesProvider
Implementation of the
MessagesProvider interface that is based on suffixes.- Since:
- 1.5.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the suffix used to detect fault elements in the schema.Returns the suffix used to detect request elements in the schema.Returns the suffix used to detect response elements in the schema.protected booleanisMessageElement(Element element) Indicates whether the given element should be includes asMessagein the definition.voidsetFaultSuffix(String faultSuffix) Sets the suffix used to detect fault elements in the schema.voidsetRequestSuffix(String requestSuffix) Sets the suffix used to detect request elements in the schema.voidsetResponseSuffix(String responseSuffix) Sets the suffix used to detect response elements in the schema.Methods inherited from class DefaultMessagesProvider
addMessages, getElementName, populateMessage, populatePart
-
Field Details
-
DEFAULT_REQUEST_SUFFIX
The default suffix used to detect request elements in the schema.- See Also:
-
DEFAULT_RESPONSE_SUFFIX
The default suffix used to detect response elements in the schema.- See Also:
-
DEFAULT_FAULT_SUFFIX
The default suffix used to detect fault elements in the schema.- See Also:
-
-
Constructor Details
-
SuffixBasedMessagesProvider
public SuffixBasedMessagesProvider()
-
-
Method Details
-
getRequestSuffix
Returns the suffix used to detect request elements in the schema.- See Also:
-
setRequestSuffix
Sets the suffix used to detect request elements in the schema.- See Also:
-
getResponseSuffix
Returns the suffix used to detect response elements in the schema.- See Also:
-
setResponseSuffix
Sets the suffix used to detect response elements in the schema.- See Also:
-
getFaultSuffix
Returns the suffix used to detect fault elements in the schema.- See Also:
-
setFaultSuffix
Sets the suffix used to detect fault elements in the schema.- See Also:
-
isMessageElement
Description copied from class:DefaultMessagesProviderIndicates whether the given element should be includes asMessagein the definition.Default implementation checks whether the element has the XML Schema namespace, and if it has the local name "element".
- Overrides:
isMessageElementin classDefaultMessagesProvider- Parameters:
element- the element elligable for being a message- Returns:
trueif to be included as message;falseotherwise
-