org.ow2.orchestra.facade.runtime.impl
Class MessageImpl
java.lang.Object
org.ow2.orchestra.facade.runtime.impl.MessageImpl
- All Implemented Interfaces:
- Serializable, CopyAble<Message>, Message
public class MessageImpl
- extends Object
- implements Message, 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
parts
protected Document parts
MessageImpl
public MessageImpl()
MessageImpl
public MessageImpl(Document duplicateParts)
- Parameters:
duplicateParts
-
getPartElement
public Element getPartElement(String partName)
getPartValue
public Element getPartValue(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 Map<String,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(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.
toString
public String toString()
- Return a string representation of the message.
- Overrides:
toString
in class Object
- Returns:
- a String representation of the message
Copyright © 2011 OW2 Consortium. All Rights Reserved.