Top Description Methods
org.jboss.marshalling

public Interface ObjectResolver

Known Direct Implementers
org.jboss.marshalling.ChainingObjectResolver

Resolver for substituting objects in a stream. The resolver is invoked on write before any serialization takes place.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the original
readResolve
(Object
the replacement object
replacement
)

Get the original object for a replacement object read from a stream.

public Object

Returns:

the replacement
writeReplace
(Object
the original object
original
)

Get a replacement for an object being written to a stream.

Method Detail

readResolveback to summary
public Object readResolve(Object replacement)

Get the original object for a replacement object read from a stream.

Parameters
replacement:Object

the replacement object

Returns:Object

the original

writeReplaceback to summary
public Object writeReplace(Object original)

Get a replacement for an object being written to a stream.

Parameters
original:Object

the original object

Returns:Object

the replacement