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 Details

  • Method Details

    • 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 class BridgeContext
      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 the AttachmentMarshaller.
      Specified by:
      setAttachmentMarshaller in class BridgeContext
    • setAttachmentUnmarshaller

      public void setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller u)
      Description copied from class: BridgeContext
      Sets the AttachmentUnmarshaller.
      Specified by:
      setAttachmentUnmarshaller in class BridgeContext
    • getAttachmentMarshaller

      public javax.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()
      Description copied from class: BridgeContext
      Gets the last AttachmentMarshaller set through AttachmentMarshaller.
      Specified by:
      getAttachmentMarshaller in class BridgeContext
    • getAttachmentUnmarshaller

      public javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
      Description copied from class: BridgeContext
      Gets the last AttachmentUnmarshaller set through AttachmentUnmarshaller.
      Specified by:
      getAttachmentUnmarshaller in class BridgeContext