|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jimm.twice.ice.xml.Message
The superclass of all ICE XML message chunks. Complete ICE messages have a header and a body and are sent within SOAP envelopes.
The toString
method returns the message as XML.
SoapEnvelope
Field Summary | |
protected Node |
node
|
Constructor Summary | |
Message(java.lang.String name)
Constructor. |
Method Summary | |
Node |
addChild(Element el)
This convenience method adds el as a child of our node
(first creating a node to contain el). |
Message |
addChild(Message childMessage)
This convenience method adds the node of message as a child of our node. |
Node |
addChild(Node node)
This convenience method adds node as a child of our node. |
java.lang.Object |
getAttribute(java.lang.String key)
This convenience method returns the XML tag's key attribute value. |
Node |
getNode()
|
Tag |
getTag()
|
void |
setAttribute(java.lang.String key,
java.lang.Object value)
This convenience method sets the XML tag's key attribute to value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Node node
Constructor Detail |
public Message(java.lang.String name)
name
- the XML element nameMethod Detail |
public Node getNode()
public Tag getTag()
public java.lang.Object getAttribute(java.lang.String key)
key
- the attribute name
null
public void setAttribute(java.lang.String key, java.lang.Object value)
key
- the attribute namevalue
- the attribute valuepublic Message addChild(Message childMessage)
Message
childMessage instead of the child node.
childMessage
- new child of this message
public Node addChild(Node node)
node
- a DOM node
public Node addChild(Element el)
el
as a child of our node
(first creating a node to contain el).
el
- an XML element
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |