Package org.jboss.marshalling.cloner
Interface CloneTable
-
public interface CloneTableAn interface which allows extending a cloner to types that it would not otherwise support.
-
-
Field Summary
Fields Modifier and Type Field Description static CloneTableNULLA null clone table.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone(Object original, ObjectCloner objectCloner, ClassCloner classCloner)Attempt to clone the given object.
-
-
-
Field Detail
-
NULL
static final CloneTable NULL
A null clone table.
-
-
Method Detail
-
clone
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, returnnull.- Parameters:
original- the originalobjectCloner- the object clonerclassCloner- the class cloner- Returns:
- the clone or
nullif none can be acquired - Throws:
IOException- if an I/O error occursClassNotFoundException- if a class is not found
-
-