|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassCopier
Provides deep copying of one specific class. An ObjectCopier (what Util.copyObject sees) uses some kind of factory to find the ClassCopier for the Class of the object in order to copy a particular object.
| Method Summary | |
|---|---|
Object |
copy(Map<Object,Object> oldToNew,
Object source)
Produce a deep copy of source, recursively copying all of its constituents. |
boolean |
isReflectiveClassCopier()
We need to know whether this class copier operates via reflection or not, as the reflective class copier must be able to tell when a super class is copied by an incompatible copier. |
| Method Detail |
|---|
Object copy(Map<Object,Object> oldToNew,
Object source)
throws ReflectiveCopyException
ReflectiveCopyExceptionboolean isReflectiveClassCopier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||