public interface Message extends java.io.Serializable, ElementExtensible
Modifier and Type | Method and Description |
---|---|
void |
addPart(Part part)
Add a part to this message.
|
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element.
|
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() |
void |
setDocumentationElement(org.w3c.dom.Element docEl)
Set the documentation element for this document.
|
void |
setQName(QName name)
Set the name of this message.
|
void |
setUndefined(boolean isUndefined) |
addExtensibilityElement, getExtensibilityElements
void setQName(QName name)
name
- the desired nameQName getQName()
void addPart(Part part)
part
- the part to be addedPart getPart(java.lang.String name)
name
- the name of the desired part.java.util.Map getParts()
java.util.List getOrderedParts(java.util.List partOrder)
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.void setDocumentationElement(org.w3c.dom.Element docEl)
docEl
- the documentation elementorg.w3c.dom.Element getDocumentationElement()
void setUndefined(boolean isUndefined)
boolean isUndefined()
Copyright ? 2003,2005 IBM. All Rights Reserved.