com.sun.xml.ws.api.message.stream
Class StreamBasedMessage

java.lang.Object
  extended by com.sun.xml.ws.api.message.stream.StreamBasedMessage
Direct Known Subclasses:
InputStreamMessage, XMLStreamReaderMessage

abstract class StreamBasedMessage
extends Object

Base representation an XML or SOAP message as stream.


Field Summary
 AttachmentSet attachments
          The attachments of this message (attachments live outside a message.)
 Packet properties
          The properties of the message.
 
Constructor Summary
protected StreamBasedMessage(Packet properties)
          Create a new message.
protected StreamBasedMessage(Packet properties, AttachmentSet attachments)
          Create a new message.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

public final Packet properties
The properties of the message.


attachments

public final AttachmentSet attachments
The attachments of this message (attachments live outside a message.)

Constructor Detail

StreamBasedMessage

protected StreamBasedMessage(Packet properties)
Create a new message.

Parameters:
properties - the properties of the message.

StreamBasedMessage

protected StreamBasedMessage(Packet properties,
                             AttachmentSet attachments)
Create a new message.

Parameters:
properties - the properties of the message.
attachments - the attachments of the message.