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

public Class CopyCtorCopier

extends Object
implements Copier
Class Inheritance
All Implemented Interfaces
com.sun.faces.util.copier.Copier
Imports
java.lang.reflect.Constructor, .InvocationTargetException

Copier that copies an object using its copy constructor.

A copy constructor is a constructor that takes an object of the same type as the object that's to be constructed. This constructor then initializes itself using the values of this other instance.

Author
Arjan Tijms
Since
2.3

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.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CopyCtorCopierback to summary
public CopyCtorCopier()

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