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

public Class NewInstanceCopier

extends Object
implements Copier
Class Inheritance
All Implemented Interfaces
com.sun.faces.util.copier.Copier

Copier that doesn't actually copy an object fully, but just returns a new instance of the same type.

The object that is to be copied has to implement a public default constructor.

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

NewInstanceCopierback to summary
public NewInstanceCopier()

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