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
-
public final class BridgeContextImpl extends BridgeContext
BridgeContext
implementation.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description MarshallerImpl
marshaller
UnmarshallerImpl
unmarshaller
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.attachment.AttachmentMarshaller
getAttachmentMarshaller()
Gets the lastAttachmentMarshaller
set throughAttachmentMarshaller
.javax.xml.bind.attachment.AttachmentUnmarshaller
getAttachmentUnmarshaller()
Gets the lastAttachmentUnmarshaller
set throughAttachmentUnmarshaller
.void
setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller m)
Sets theAttachmentMarshaller
.void
setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller u)
Sets theAttachmentUnmarshaller
.void
setErrorHandler(javax.xml.bind.ValidationEventHandler handler)
Registers the error handler that receives unmarshalling/marshalling errors.
-
-
-
Field Detail
-
unmarshaller
public final UnmarshallerImpl unmarshaller
-
marshaller
public final MarshallerImpl marshaller
-
-
Method Detail
-
setErrorHandler
public void setErrorHandler(javax.xml.bind.ValidationEventHandler handler)
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
public void setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller m)
Description copied from class:BridgeContext
Sets theAttachmentMarshaller
.- Specified by:
setAttachmentMarshaller
in classBridgeContext
-
setAttachmentUnmarshaller
public void setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller u)
Description copied from class:BridgeContext
Sets theAttachmentUnmarshaller
.- Specified by:
setAttachmentUnmarshaller
in classBridgeContext
-
getAttachmentMarshaller
public javax.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()
Description copied from class:BridgeContext
Gets the lastAttachmentMarshaller
set throughAttachmentMarshaller
.- Specified by:
getAttachmentMarshaller
in classBridgeContext
-
getAttachmentUnmarshaller
public javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
Description copied from class:BridgeContext
Gets the lastAttachmentUnmarshaller
set throughAttachmentUnmarshaller
.- Specified by:
getAttachmentUnmarshaller
in classBridgeContext
-
-