- java.lang.Object
-
- com.sun.xml.ws.api.message.stream.XMLStreamReaderMessage
-
public class XMLStreamReaderMessage extends Object
Low level representation of an XML or SOAP message as anXMLStreamReader
.
-
-
Field Summary
Fields Modifier and Type Field Description AttachmentSet
attachments
The attachments of this message (attachments live outside a message.)XMLStreamReader
msg
The message represented as anXMLStreamReader
.Packet
properties
The properties of the message.
-
Constructor Summary
Constructors Constructor Description XMLStreamReaderMessage(Packet properties, AttachmentSet attachments, XMLStreamReader msg)
Create a new message.XMLStreamReaderMessage(Packet properties, XMLStreamReader msg)
Create a new message.
-
-
-
Field Detail
-
msg
public final XMLStreamReader msg
The message represented as anXMLStreamReader
.
-
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 unconsumedXMLStreamReader
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 unconsumedXMLStreamReader
that represents a request.
-
-