public class MessageImpl extends AbstractWSDLElement implements Message
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
additionOrderOfParts |
protected boolean |
isUndefined |
protected QName |
name |
protected java.util.List |
nativeAttributeNames |
protected java.util.Map |
parts |
static long |
serialVersionUID |
docEl, extElements, extensionAttributes
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
Constructor and Description |
---|
MessageImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addPart(Part part)
Add a part to this message.
|
java.util.List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
|
java.util.List |
getOrderedParts(java.util.List partOrder)
Get an ordered list of parts as specified by the partOrder
argument.
|
Part |
getPart(java.lang.String name)
Get the specified part.
|
java.util.Map |
getParts()
Get all the parts defined here.
|
QName |
getQName()
Get the name of this message.
|
boolean |
isUndefined() |
Part |
removePart(java.lang.String name)
Remove the specified part.
|
void |
setQName(QName name)
Set the name of this message.
|
void |
setUndefined(boolean isUndefined) |
java.lang.String |
toString() |
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDocumentationElement, setDocumentationElement
getExtensionAttribute, getExtensionAttributes, setExtensionAttribute
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
protected java.util.Map parts
protected java.util.List additionOrderOfParts
protected QName name
protected java.util.List nativeAttributeNames
protected boolean isUndefined
public static final long serialVersionUID
public void setQName(QName name)
public QName getQName()
public void addPart(Part part)
public Part getPart(java.lang.String name)
public Part removePart(java.lang.String name)
removePart
in interface Message
name
- the name of the part to be removed.public java.util.Map getParts()
public java.util.List getOrderedParts(java.util.List partOrder)
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.public void setUndefined(boolean isUndefined)
setUndefined
in interface Message
public boolean isUndefined()
isUndefined
in interface Message
public java.lang.String toString()
toString
in class AbstractWSDLElement
public java.util.List getNativeAttributeNames()
getNativeAttributeNames
in interface AttributeExtensible
Copyright ? 2003, 2013 IBM. All Rights Reserved.