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 lastAttachmentMarshallerset throughAttachmentMarshaller.Gets the lastAttachmentUnmarshallerset throughAttachmentUnmarshaller.voidSets theAttachmentMarshaller.voidSets theAttachmentUnmarshaller.voidsetErrorHandler(ValidationEventHandler handler) Registers the error handler that receives unmarshalling/marshalling errors.
-
Field Details
-
unmarshaller
-
marshaller
-
-
Method Details
-
setErrorHandler
Description copied from class:BridgeContextRegisters the error handler that receives unmarshalling/marshalling errors.- Specified by:
setErrorHandlerin classBridgeContext- Parameters:
handler- can be null, in which case all errors will be considered fatal.
-
setAttachmentMarshaller
Description copied from class:BridgeContextSets theAttachmentMarshaller.- Specified by:
setAttachmentMarshallerin classBridgeContext
-
setAttachmentUnmarshaller
Description copied from class:BridgeContextSets theAttachmentUnmarshaller.- Specified by:
setAttachmentUnmarshallerin classBridgeContext
-
getAttachmentMarshaller
Description copied from class:BridgeContextGets the lastAttachmentMarshallerset throughAttachmentMarshaller.- Specified by:
getAttachmentMarshallerin classBridgeContext
-
getAttachmentUnmarshaller
Description copied from class:BridgeContextGets the lastAttachmentUnmarshallerset throughAttachmentUnmarshaller.- Specified by:
getAttachmentUnmarshallerin classBridgeContext
-