Top Description Methods
com.sun.faces.util.copier

public Interface Copier

Known Direct Implementers
com.sun.faces.util.copier.CopyCtorCopier, com.sun.faces.util.copier.MultiStrategyCopier, com.sun.faces.util.copier.NewInstanceCopier, com.sun.faces.util.copier.SerializationCopier, com.sun.faces.util.copier.CloneCopier

Interface that is to be implement by classes that know how to copy an object.

This contract makes no guarantee about the level of copying that is done. Copies can be deep, shallow, just a new instance of the same type or anything in between. It generally depends on the exact purpose of the copied object what level of copying is needed, and different implementations of this interface can facilitate for this difference.

Author
Arjan Tijms
Since
2.3

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a copy of the given object
copy
(Object
the object to be copied
object
)

Return an object that's logically a copy of the given object.

Method Detail

copyback to summary
public Object copy(Object object)

Return an object that's logically a copy of the given object.

Parameters
object:Object

the object to be copied

Returns:Object

a copy of the given object