Package com.sun.xml.bind.v2.runtime
Class BridgeContextImpl
java.lang.Object
com.sun.xml.bind.api.BridgeContext
com.sun.xml.bind.v2.runtime.BridgeContextImpl
BridgeContext
implementation.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the lastAttachmentMarshaller
set throughAttachmentMarshaller
.Gets the lastAttachmentUnmarshaller
set throughAttachmentUnmarshaller
.void
Sets theAttachmentMarshaller
.void
Sets theAttachmentUnmarshaller
.void
setErrorHandler
(ValidationEventHandler handler) Registers the error handler that receives unmarshalling/marshalling errors.
-
Field Details
-
unmarshaller
-
marshaller
-
-
Method Details
-
setErrorHandler
Description copied from class:BridgeContext
Registers the error handler that receives unmarshalling/marshalling errors.- Specified by:
setErrorHandler
in classBridgeContext
- Parameters:
handler
- can be null, in which case all errors will be considered fatal.
-
setAttachmentMarshaller
Description copied from class:BridgeContext
Sets theAttachmentMarshaller
.- Specified by:
setAttachmentMarshaller
in classBridgeContext
-
setAttachmentUnmarshaller
Description copied from class:BridgeContext
Sets theAttachmentUnmarshaller
.- Specified by:
setAttachmentUnmarshaller
in classBridgeContext
-
getAttachmentMarshaller
Description copied from class:BridgeContext
Gets the lastAttachmentMarshaller
set throughAttachmentMarshaller
.- Specified by:
getAttachmentMarshaller
in classBridgeContext
-
getAttachmentUnmarshaller
Description copied from class:BridgeContext
Gets the lastAttachmentUnmarshaller
set throughAttachmentUnmarshaller
.- Specified by:
getAttachmentUnmarshaller
in classBridgeContext
-