public final class BridgeContextImpl extends BridgeContext
BridgeContext implementation.| Modifier and Type | Field | Description |
|---|---|---|
MarshallerImpl |
marshaller |
|
UnmarshallerImpl |
unmarshaller |
| Modifier and Type | Method | Description |
|---|---|---|
javax.xml.bind.attachment.AttachmentMarshaller |
getAttachmentMarshaller() |
Gets the last
AttachmentMarshaller set through
AttachmentMarshaller. |
javax.xml.bind.attachment.AttachmentUnmarshaller |
getAttachmentUnmarshaller() |
Gets the last
AttachmentUnmarshaller set through
AttachmentUnmarshaller. |
void |
setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller m) |
Sets the
AttachmentMarshaller. |
void |
setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller u) |
Sets the
AttachmentUnmarshaller. |
void |
setErrorHandler(javax.xml.bind.ValidationEventHandler handler) |
Registers the error handler that receives unmarshalling/marshalling errors.
|
public final UnmarshallerImpl unmarshaller
public final MarshallerImpl marshaller
public void setErrorHandler(javax.xml.bind.ValidationEventHandler handler)
BridgeContextsetErrorHandler in class BridgeContexthandler - can be null, in which case all errors will be considered fatal.public void setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller m)
BridgeContextAttachmentMarshaller.setAttachmentMarshaller in class BridgeContextpublic void setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller u)
BridgeContextAttachmentUnmarshaller.setAttachmentUnmarshaller in class BridgeContextpublic javax.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()
BridgeContextAttachmentMarshaller set through
AttachmentMarshaller.getAttachmentMarshaller in class BridgeContextpublic javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
BridgeContextAttachmentUnmarshaller set through
AttachmentUnmarshaller.getAttachmentUnmarshaller in class BridgeContextCopyright © 2018 Oracle Corporation. All rights reserved.