org.jtransfo
Interface Converter
- All Known Implementing Classes:
- AbstractConverter, TaggedConverter, ToDomainConverter, ToToConverter
public interface Converter
Converter, typically converts one field from the source object to a target object.
|
Method Summary |
void |
convert(Object source,
Object target,
String... tags)
Conversion from (part of) the source object to the target object. |
convert
void convert(Object source,
Object target,
String... tags)
throws JTransfoException
- Conversion from (part of) the source object to the target object.
- Parameters:
source - source to read fromtarget - target to write intotags - tags which indicate which fields can be converted based on MapOnly annotations
- Throws:
JTransfoException - problem during conversion
Copyright © 2014. All rights reserved.