com.ibm.wsdl
Class MessageImpl
- ElementExtensible, Message, java.io.Serializable
public class MessageImpl
extends java.lang.Object
This class describes a message used for communication with an operation.
- Paul Fremantle
- Nirmal Mukhi
- Matthew J. Duftler
additionOrderOfParts
protected List additionOrderOfParts
docEl
protected Element docEl
extElements
protected List extElements
isUndefined
protected boolean isUndefined
serialVersionUID
public static final long serialVersionUID
- 1L
addPart
public void addPart(Part part)
Add a part to this message.
- addPart in interface Message
part
- the part to be added
getDocumentationElement
public Element getDocumentationElement()
Get the documentation element. This dependency on org.w3c.dom.Element
should eventually be removed when a more appropriate way of
representing this information is employed.
- getDocumentationElement in interface Message
- the documentation element
getOrderedParts
public List getOrderedParts(List partOrder)
Get an ordered list of parts as specified by the partOrder
argument.
- getOrderedParts in interface Message
partOrder
- a list of strings, with each string referring
to a part by its name. If this argument is null, the parts are
returned in the order in which they were added to the message.
- the list of parts
getPart
public Part getPart(String name)
Get the specified part.
- getPart in interface Message
name
- the name of the desired part.
- the corresponding part, or null if there wasn't
any matching part
getParts
public Map getParts()
Get all the parts defined here.
- getParts in interface Message
getQName
public QName getQName()
Get the name of this message.
- getQName in interface Message
- the message name
setDocumentationElement
public void setDocumentationElement(Element docEl)
Set the documentation element for this document. This dependency
on org.w3c.dom.Element should eventually be removed when a more
appropriate way of representing this information is employed.
- setDocumentationElement in interface Message
docEl
- the documentation element
setQName
public void setQName(QName name)
Set the name of this message.
- setQName in interface Message
name
- the desired name
toString
public String toString()
Copyright B) 2003,2005 IBM. All Rights Reserved.