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