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

public Class CloneCopier

extends Object
implements Copier
Class Inheritance
All Implemented Interfaces
com.sun.faces.util.copier.Copier
Static Imports
java.lang.String.format

Copier that copies an object using the Cloneable facility.
Author
Arjan Tijms
Since
2.3

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
copy(Object
the object to be copied
object
)

Implements com.sun.faces.util.copier.Copier.copy.

Return an object that's logically a copy of the given object.
private Method
getMethod(Object object, String name)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ERROR_CANT_CLONEback to summary
private static final String ERROR_CANT_CLONE

Constructor Detail

CloneCopierback to summary
public CloneCopier()

Method Detail

copyback to summary
public Object copy(Object object)

Implements com.sun.faces.util.copier.Copier.copy.

Doc from com.sun.faces.util.copier.Copier.copy.

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

Annotations
@Override
getMethodback to summary
private Method getMethod(Object object, String name)