BridgeContextImplBridge has
methods that can work without BridgeContext.public abstract class BridgeContext
extends java.lang.Object
Bridges,
to make Bridge thread-safe.
This object cannot be used concurrently; two threads cannot
use the same object with Bridges at the same time, nor
a thread can use a BridgeContext with one Bridge while
the same context is in use by another Bridge.
BridgeContext is relatively a heavy-weight object, and
therefore it is expected to be cached by the JAX-RPC RI.
Subject to change without notice.
Bridge| Modifier | Constructor | Description |
|---|---|---|
protected |
BridgeContext() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract javax.xml.bind.attachment.AttachmentMarshaller |
getAttachmentMarshaller() |
Deprecated.
Gets the last
AttachmentMarshaller set through
AttachmentMarshaller. |
abstract javax.xml.bind.attachment.AttachmentUnmarshaller |
getAttachmentUnmarshaller() |
Deprecated.
Gets the last
AttachmentUnmarshaller set through
AttachmentUnmarshaller. |
abstract void |
setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller m) |
Deprecated.
Sets the
AttachmentMarshaller. |
abstract void |
setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller m) |
Deprecated.
Sets the
AttachmentUnmarshaller. |
abstract void |
setErrorHandler(javax.xml.bind.ValidationEventHandler handler) |
Deprecated.
Registers the error handler that receives unmarshalling/marshalling errors.
|
public abstract void setErrorHandler(javax.xml.bind.ValidationEventHandler handler)
handler - can be null, in which case all errors will be considered fatal.public abstract void setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller m)
AttachmentMarshaller.public abstract void setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller m)
AttachmentUnmarshaller.public abstract javax.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()
AttachmentMarshaller set through
AttachmentMarshaller.public abstract javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
AttachmentUnmarshaller set through
AttachmentUnmarshaller.Copyright © 2017 Oracle Corporation. All rights reserved.