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)
BridgeContext
setErrorHandler
in class BridgeContext
handler
- can be null, in which case all errors will be considered fatal.public void setAttachmentMarshaller(AttachmentMarshaller m)
BridgeContext
AttachmentMarshaller
.setAttachmentMarshaller
in class BridgeContext
public void setAttachmentUnmarshaller(AttachmentUnmarshaller u)
BridgeContext
AttachmentUnmarshaller
.setAttachmentUnmarshaller
in class BridgeContext
public AttachmentMarshaller getAttachmentMarshaller()
BridgeContext
AttachmentMarshaller
set through
AttachmentMarshaller
.getAttachmentMarshaller
in class BridgeContext
public AttachmentUnmarshaller getAttachmentUnmarshaller()
BridgeContext
AttachmentUnmarshaller
set through
AttachmentUnmarshaller
.getAttachmentUnmarshaller
in class BridgeContext
Copyright © 2017 JBoss by Red Hat. All rights reserved.