|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.wsdl.wsdl11.provider.DefaultMessagesProvider
public class DefaultMessagesProvider
Default implementation of the MessagesProvider
.
Constructor Summary | |
---|---|
DefaultMessagesProvider()
|
Method Summary | |
---|---|
void |
addMessages(Definition definition)
|
protected String |
getElementName(Element element)
Returns the name attribute of the given element. |
protected boolean |
isMessageElement(Element element)
Indicates whether the given element should be includes as Message in the definition. |
protected void |
populateMessage(Definition definition,
Message message,
QName elementName)
Called after the Message has been created. |
protected void |
populatePart(Definition definition,
Part part,
QName elementName)
Called after the Part has been created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMessagesProvider()
Method Detail |
---|
public void addMessages(Definition definition) throws WSDLException
addMessages
in interface MessagesProvider
WSDLException
protected String getElementName(Element element)
element
- the element whose name to return
protected boolean isMessageElement(Element element)
Message
in the definition.
Default implementation checks whether the element has the XML Schema namespace, and if it has the local name
"element".
element
- the element elligable for being a message
true
if to be included as message; false
otherwiseprotected void populateMessage(Definition definition, Message message, QName elementName) throws WSDLException
Message
has been created.
Default implementation sets the name of the message to the element name.
definition
- the WSDL4J Definition
message
- the WSDL4J Message
elementName
- the element name
WSDLException
- in case of errorsprotected void populatePart(Definition definition, Part part, QName elementName) throws WSDLException
Part
has been created.
Default implementation sets the element name of the part.
definition
- the WSDL4J Definition
part
- the WSDL4J Part
elementName
- the elementName @throws WSDLException in case of errors
WSDLException
Part.setElementName(javax.xml.namespace.QName)
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |