- java.lang.Object
-
- org.glassfish.jaxb.runtime.api.BridgeContext
-
- org.glassfish.jaxb.runtime.v2.runtime.BridgeContextImpl
-
public final class BridgeContextImpl extends BridgeContext
BridgeContextimplementation.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description MarshallerImplmarshallerUnmarshallerImplunmarshaller
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.xml.bind.attachment.AttachmentMarshallergetAttachmentMarshaller()Gets the lastAttachmentMarshallerset throughAttachmentMarshaller.jakarta.xml.bind.attachment.AttachmentUnmarshallergetAttachmentUnmarshaller()Gets the lastAttachmentUnmarshallerset throughAttachmentUnmarshaller.voidsetAttachmentMarshaller(jakarta.xml.bind.attachment.AttachmentMarshaller m)Sets theAttachmentMarshaller.voidsetAttachmentUnmarshaller(jakarta.xml.bind.attachment.AttachmentUnmarshaller u)Sets theAttachmentUnmarshaller.voidsetErrorHandler(jakarta.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(jakarta.xml.bind.ValidationEventHandler handler)
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
public void setAttachmentMarshaller(jakarta.xml.bind.attachment.AttachmentMarshaller m)
Description copied from class:BridgeContextSets theAttachmentMarshaller.- Specified by:
setAttachmentMarshallerin classBridgeContext
-
setAttachmentUnmarshaller
public void setAttachmentUnmarshaller(jakarta.xml.bind.attachment.AttachmentUnmarshaller u)
Description copied from class:BridgeContextSets theAttachmentUnmarshaller.- Specified by:
setAttachmentUnmarshallerin classBridgeContext
-
getAttachmentMarshaller
public jakarta.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()
Description copied from class:BridgeContextGets the lastAttachmentMarshallerset throughAttachmentMarshaller.- Specified by:
getAttachmentMarshallerin classBridgeContext
-
getAttachmentUnmarshaller
public jakarta.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
Description copied from class:BridgeContextGets the lastAttachmentUnmarshallerset throughAttachmentUnmarshaller.- Specified by:
getAttachmentUnmarshallerin classBridgeContext
-
-