|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.api.BridgeContext
Bridge
has
methods that can work without BridgeContext
.
public abstract class BridgeContext
Holds thread specific state information for Bridge
s,
to make Bridge
thread-safe.
This object cannot be used concurrently; two threads cannot
use the same object with Bridge
s 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
Constructor Summary | |
---|---|
protected |
BridgeContext()
Deprecated. |
Method Summary | |
---|---|
abstract AttachmentMarshaller |
getAttachmentMarshaller()
Deprecated. Gets the last AttachmentMarshaller set through
AttachmentMarshaller . |
abstract AttachmentUnmarshaller |
getAttachmentUnmarshaller()
Deprecated. Gets the last AttachmentUnmarshaller set through
AttachmentUnmarshaller . |
abstract void |
setAttachmentMarshaller(AttachmentMarshaller m)
Deprecated. Sets the AttachmentMarshaller . |
abstract void |
setAttachmentUnmarshaller(AttachmentUnmarshaller m)
Deprecated. Sets the AttachmentUnmarshaller . |
abstract void |
setErrorHandler(ValidationEventHandler handler)
Deprecated. 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 |
Constructor Detail |
---|
protected BridgeContext()
Method Detail |
---|
public abstract void setErrorHandler(ValidationEventHandler handler)
handler
- can be null, in which case all errors will be considered fatal.public abstract void setAttachmentMarshaller(AttachmentMarshaller m)
AttachmentMarshaller
.
public abstract void setAttachmentUnmarshaller(AttachmentUnmarshaller m)
AttachmentUnmarshaller
.
public abstract AttachmentMarshaller getAttachmentMarshaller()
AttachmentMarshaller
set through
AttachmentMarshaller
.
public abstract AttachmentUnmarshaller getAttachmentUnmarshaller()
AttachmentUnmarshaller
set through
AttachmentUnmarshaller
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |