Top Description Fields Methods
org.jboss.marshalling.cloner

public Interface CloneTable

Imports
java.io.IOException

An interface which allows extending a cloner to types that it would not otherwise support.

Field Summary

Modifier and TypeField and Description
public static final CloneTable
NULL

A null clone table.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the clone or null if none can be acquired
clone
(Object
the original
original
,
ObjectCloner
the object cloner
objectCloner
,
ClassCloner
the class cloner
classCloner
)

Attempt to clone the given object.

Field Detail

NULLback to summary
public static final CloneTable NULL

A null clone table.

Method Detail

cloneback to summary
public Object clone(Object original, ObjectCloner objectCloner, ClassCloner classCloner) throws IOException, ClassNotFoundException

Attempt to clone the given object. If no clone can be made or acquired from this table, return null.

Parameters
original:Object

the original

objectCloner:ObjectCloner

the object cloner

classCloner:ClassCloner

the class cloner

Returns:Object

the clone or null if none can be acquired

Exceptions
IOException:
if an I/O error occurs
ClassNotFoundException:
if a class is not found