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

java.lang.Object
  extended by com.sun.xml.ws.api.message.stream.XMLStreamReaderMessage

public class XMLStreamReaderMessage
extends Object

Low level representation of an XML or SOAP message as an XMLStreamReader.


Field Summary
 AttachmentSet attachments
          The attachments of this message (attachments live outside a message.)
 XMLStreamReader msg
          The message represented as an XMLStreamReader.
 Packet properties
          The properties of the message.
 
Constructor Summary
XMLStreamReaderMessage(Packet properties, AttachmentSet attachments, XMLStreamReader msg)
          Create a new message.
XMLStreamReaderMessage(Packet properties, XMLStreamReader msg)
          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

msg

public final XMLStreamReader msg
The message represented as an XMLStreamReader.


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

XMLStreamReaderMessage

public XMLStreamReaderMessage(Packet properties,
                              XMLStreamReader msg)
Create a new message.

Parameters:
properties - the properties of the message.
msg - always a non-null unconsumed XMLStreamReader that represents a request.

XMLStreamReaderMessage

public XMLStreamReaderMessage(Packet properties,
                              AttachmentSet attachments,
                              XMLStreamReader msg)
Create a new message.

Parameters:
properties - the properties of the message.
attachments - the attachments of the message.
msg - always a non-null unconsumed XMLStreamReader that represents a request.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.