public class UnmarshallerAdapter
extends java.lang.Object
Unmarshaller to perform XOP/MTOM processing on an
XMLStreamReader that exposes the DataHandlerReader extension.| Modifier and Type | Field and Description |
|---|---|
private javax.xml.bind.attachment.AttachmentUnmarshaller |
attachmentUnmarshaller |
private javax.xml.stream.XMLStreamReader |
reader |
| Constructor and Description |
|---|
UnmarshallerAdapter(javax.xml.stream.XMLStreamReader reader,
javax.xml.bind.attachment.AttachmentUnmarshaller attachmentUnmarshaller) |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.bind.attachment.AttachmentUnmarshaller |
getAttachmentUnmarshaller()
Get the
AttachmentUnmarshaller to be configured on the Unmarshaller. |
javax.xml.stream.XMLStreamReader |
getReader()
Get the
XMLStreamReader to be passed to the Unmarshaller. |
private final javax.xml.stream.XMLStreamReader reader
private final javax.xml.bind.attachment.AttachmentUnmarshaller attachmentUnmarshaller
UnmarshallerAdapter(javax.xml.stream.XMLStreamReader reader,
javax.xml.bind.attachment.AttachmentUnmarshaller attachmentUnmarshaller)
public javax.xml.stream.XMLStreamReader getReader()
XMLStreamReader to be passed to the Unmarshaller.public javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
AttachmentUnmarshaller to be configured on the Unmarshaller.AttachmentUnmarshaller instance; this may be null if the
underlying XMLStreamReader doesn't expose the DataHandlerReader
extension