Package javax.wsdl
Interface Message
- All Superinterfaces:
AttributeExtensible
,ElementExtensible
,Serializable
,WSDLElement
- All Known Implementing Classes:
MessageImpl
This interface describes a message used for communication with an operation.
- Author:
- Paul Fremantle, Nirmal Mukhi, Matthew J. Duftler
-
Field Summary
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a part to this message.getOrderedParts
(List partOrder) Get an ordered list of parts as specified by the partOrder argument.Get the specified part.getParts()
Get all the parts defined here.getQName()
Get the name of this message.boolean
removePart
(String name) Remove the specified part.void
Set the name of this message.void
setUndefined
(boolean isUndefined) Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
Methods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
-
Method Details
-
setQName
Set the name of this message.- Parameters:
name
- the desired name
-
getQName
QName getQName()Get the name of this message.- Returns:
- the message name
-
addPart
Add a part to this message.- Parameters:
part
- the part to be added
-
getPart
Get the specified part.- Parameters:
name
- the name of the desired part.- Returns:
- the corresponding part, or null if there wasn't any matching part
-
removePart
Remove the specified part.- Parameters:
name
- the name of the part to be removed.- Returns:
- the part which was removed
-
getParts
Map getParts()Get all the parts defined here. -
getOrderedParts
Get an ordered list of parts as specified by the partOrder argument.- Parameters:
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.- Returns:
- the list of parts
-
setUndefined
void setUndefined(boolean isUndefined) -
isUndefined
boolean isUndefined()
-