javax.wsdl
Interface Message
- java.io.Serializable, AttributeExtensible, ElementExtensible, WSDLElement
- MessageImpl
This interface describes a message used for communication with an operation.
- Paul Fremantle
- Nirmal Mukhi
- Matthew J. Duftler
addPart
public void addPart(Part part)
Add a part to this message.
part
- the part to be added
getOrderedParts
public List getOrderedParts(List partOrder)
Get an ordered list of parts as specified by the partOrder
argument.
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.
getPart
public Part getPart(String name)
Get the specified part.
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.
getQName
public QName getQName()
Get the name of this message.
isUndefined
public boolean isUndefined()
removePart
public Part removePart(String name)
Remove the specified part.
name
- the name of the part to be removed.
- the part which was removed
setQName
public void setQName(QName name)
Set the name of this message.
setUndefined
public void setUndefined(boolean isUndefined)
Copyright B) 2003,2006 IBM. All Rights Reserved.