public class MessageImpl extends AbstractWSDLElement implements Message
Modifier and Type | Field and Description |
---|---|
protected List |
additionOrderOfParts |
protected boolean |
isUndefined |
protected QName |
name |
protected List |
nativeAttributeNames |
protected 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.
|
List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
|
List |
getOrderedParts(List partOrder)
Get an ordered list of parts as specified by the partOrder
argument.
|
Part |
getPart(String name)
Get the specified part.
|
Map |
getParts()
Get all the parts defined here.
|
QName |
getQName()
Get the name of this message.
|
boolean |
isUndefined() |
Part |
removePart(String name)
Remove the specified part.
|
void |
setQName(QName name)
Set the name of this message.
|
void |
setUndefined(boolean isUndefined) |
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 Map parts
protected List additionOrderOfParts
protected QName name
protected 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 removePart(String name)
removePart
in interface Message
name
- the name of the part to be removed.public Map getParts()
public List getOrderedParts(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 String toString()
toString
in class AbstractWSDLElement
public List getNativeAttributeNames()
getNativeAttributeNames
in interface AttributeExtensible
Copyright © 2018 JBoss by Red Hat. All rights reserved.