Package org.mwolff.converter
Interface Converter
-
- All Known Implementing Classes:
GenericConverter
public interface Converter
Converter interface. Converters runs through all addedPopulator
classes and calls theirPopulator.convert(Object, ViewDTO)
methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Converter
addPopulator(Populator populator)
Adds aPopulator
to the list of populatorsConverter
addSource(Object source)
Adds a source objectConverter
convert(ViewDTO viewDTO)
Converts the values of sources into the target object.
-