|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Copier
An object that can copy information from a source object to a destination object.
Field Summary |
---|
Fields inherited from interface net.sf.morph.transform.Transformer |
---|
TRANSFORMATION_TYPE_CONVERT, TRANSFORMATION_TYPE_COPY |
Method Summary | |
---|---|
void |
copy(java.lang.Object destination,
java.lang.Object source,
java.util.Locale locale)
Copies information from the given source to the given destination. |
Methods inherited from interface net.sf.morph.transform.Transformer |
---|
getDestinationClasses, getSourceClasses |
Method Detail |
---|
void copy(java.lang.Object destination, java.lang.Object source, java.util.Locale locale) throws TransformationException
Copies information from the given source to the given destination.
destination
- the object to which information is writtensource
- the object from which information is readlocale
- the locale of the current user, which may be null if the
locale is unknown or not applicable
TransformationException
- if source
or destination
are
null or
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |