com.sun.xml.bind.v2.runtime
Class BridgeContextImpl

java.lang.Object
  extended by com.sun.xml.bind.api.BridgeContext
      extended by com.sun.xml.bind.v2.runtime.BridgeContextImpl

public final class BridgeContextImpl
extends BridgeContext

BridgeContext implementation.


Field Summary
 MarshallerImpl marshaller
           
 UnmarshallerImpl unmarshaller
           
 
Constructor Summary
BridgeContextImpl(JAXBContextImpl context)
           
 
Method Summary
 AttachmentMarshaller getAttachmentMarshaller()
          Gets the last AttachmentMarshaller set through AttachmentMarshaller.
 AttachmentUnmarshaller getAttachmentUnmarshaller()
          Gets the last AttachmentUnmarshaller set through AttachmentUnmarshaller.
 void setAttachmentMarshaller(AttachmentMarshaller m)
          Sets the AttachmentMarshaller.
 void setAttachmentUnmarshaller(AttachmentUnmarshaller u)
          Sets the AttachmentUnmarshaller.
 void setErrorHandler(ValidationEventHandler handler)
          Registers the error handler that receives unmarshalling/marshalling errors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unmarshaller

public final UnmarshallerImpl unmarshaller

marshaller

public final MarshallerImpl marshaller
Constructor Detail

BridgeContextImpl

BridgeContextImpl(JAXBContextImpl context)
Method Detail

setErrorHandler

public void setErrorHandler(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(AttachmentMarshaller m)
Description copied from class: BridgeContext
Sets the AttachmentMarshaller.

Specified by:
setAttachmentMarshaller in class BridgeContext

setAttachmentUnmarshaller

public void setAttachmentUnmarshaller(AttachmentUnmarshaller u)
Description copied from class: BridgeContext
Sets the AttachmentUnmarshaller.

Specified by:
setAttachmentUnmarshaller in class BridgeContext

getAttachmentMarshaller

public AttachmentMarshaller getAttachmentMarshaller()
Description copied from class: BridgeContext
Gets the last AttachmentMarshaller set through AttachmentMarshaller.

Specified by:
getAttachmentMarshaller in class BridgeContext

getAttachmentUnmarshaller

public AttachmentUnmarshaller getAttachmentUnmarshaller()
Description copied from class: BridgeContext
Gets the last AttachmentUnmarshaller set through AttachmentUnmarshaller.

Specified by:
getAttachmentUnmarshaller in class BridgeContext