|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Converter<S,T>
Base interface for all classes that convert
a source object of type S to an object of type T.
Created: 30.08.2006 19:41:08
| Method Summary | |
|---|---|
T |
convert(S sourceValue)
Concerts an object of type S to an object of type T |
java.lang.Class<S> |
getSourceType()
|
java.lang.Class<T> |
getTargetType()
|
| Methods inherited from interface org.databene.commons.ThreadAware |
|---|
isParallelizable, isThreadSafe |
| Method Detail |
|---|
java.lang.Class<S> getSourceType()
java.lang.Class<T> getTargetType()
T convert(S sourceValue)
throws ConversionException
sourceValue - the object to convert
ConversionException - if the conversion fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||