public class MessageImpl extends java.lang.Object implements Message
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
additionOrderOfParts |
protected org.w3c.dom.Element |
docEl |
protected java.util.List |
extElements |
protected boolean |
isUndefined |
protected QName |
name |
protected java.util.Map |
parts |
static long |
serialVersionUID |
| Constructor and Description |
|---|
MessageImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
|
void |
addPart(Part part)
Add a part to this message.
|
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element.
|
java.util.List |
getExtensibilityElements()
Get all the extensibility elements defined here.
|
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) |
java.lang.String |
toString() |
protected java.util.Map parts
protected java.util.List additionOrderOfParts
protected QName name
protected org.w3c.dom.Element docEl
protected java.util.List extElements
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 java.util.Map getParts()
public java.util.List getOrderedParts(java.util.List partOrder)
getOrderedParts in interface MessagepartOrder - 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 setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement in interface MessagedocEl - the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement in interface Messagepublic void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement in interface ElementExtensibleextElement - the extensibility element to be addedpublic java.util.List getExtensibilityElements()
getExtensibilityElements in interface ElementExtensiblepublic void setUndefined(boolean isUndefined)
setUndefined in interface Messagepublic boolean isUndefined()
isUndefined in interface Messagepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2003,2005 IBM. All Rights Reserved.