org.ow2.orchestra.facade.runtime.impl
Class MessageImpl
java.lang.Object
org.ow2.orchestra.facade.runtime.impl.MessageImpl
- All Implemented Interfaces:
- java.io.Serializable, CopyAble<Message>, Message
public class MessageImpl
- extends java.lang.Object
- implements Message, java.io.Serializable
Models a WSDL message type variable.
- Author:
- Goulven Le Jeune, Charles Souillard, Candy Chlad, Stanislas Giraudet
De Boudemange, Guillaume Porcher
- See Also:
- Serialized Form
|
Field Summary |
protected org.w3c.dom.Document |
parts
|
|
Method Summary |
MessageImpl |
copy()
Export to log message. |
org.w3c.dom.Element |
getPartElement(java.lang.String partName)
|
java.util.Map<java.lang.String,org.w3c.dom.Element> |
getParts()
|
org.w3c.dom.Element |
getPartValue(java.lang.String partName)
|
boolean |
hasPart(java.lang.String partName)
Test if the message has part named partName
(given in parameter). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parts
protected org.w3c.dom.Document parts
MessageImpl
public MessageImpl()
MessageImpl
public MessageImpl(org.w3c.dom.Document duplicateParts)
- Parameters:
duplicateParts -
getPartElement
public org.w3c.dom.Element getPartElement(java.lang.String partName)
getPartValue
public org.w3c.dom.Element getPartValue(java.lang.String partName)
- Specified by:
getPartValue in interface Message
- Returns:
- Element content of the message part 'partName'.
copy
public MessageImpl copy()
- Export to log message.
- Specified by:
copy in interface CopyAble<Message>
- Returns:
- The duplicate of Xml object
getParts
public java.util.Map<java.lang.String,org.w3c.dom.Element> getParts()
- Specified by:
getParts in interface Message
- Returns:
- a map with message part name as key and message part element as value.
hasPart
public boolean hasPart(java.lang.String partName)
- Description copied from interface:
Message
- Test if the message has part named partName
(given in parameter).
- Specified by:
hasPart in interface Message
- Parameters:
partName - :
name of the part.
- Returns:
- true if the part has been found, false else.
Copyright © 2010 OW2 Consortium. All Rights Reserved.