public class MessagePart extends java.lang.Object implements IMessageValue.IPart
Constructor and Description |
---|
MessagePart(java.io.DataInputStream stream)
constructor
|
MessagePart(java.lang.String name, IXMLValue value)
constructor
|
Modifier and Type | Method and Description |
---|---|
IXMLValue |
getContent()
returns the value
|
java.lang.String |
getName()
part name
|
java.lang.String |
toString()
toString
|
void |
write(java.io.DataOutputStream stream)
writes the string
|
public MessagePart(java.lang.String name, IXMLValue value)
public MessagePart(java.io.DataInputStream stream) throws java.io.IOException, InvalidValueException
java.io.IOException
InvalidValueException
public java.lang.String getName()
getName
in interface IMessageValue.IPart
public IXMLValue getContent()
getContent
in interface IMessageValue.IPart
public java.lang.String toString()
toString
in class java.lang.Object
public void write(java.io.DataOutputStream stream) throws java.io.IOException
java.io.IOException