- java.lang.Object
-
- org.omnifaces.util.copier.NewInstanceCopier
-
- All Implemented Interfaces:
Copier
public class NewInstanceCopier extends Object implements 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.
- Since:
- 2.0
- Author:
- Arjan Tijms
-
-
Constructor Summary
Constructors Constructor Description NewInstanceCopier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
copy(Object object)
Return an object that's logically a copy of the given object.
-