biz.hammurapi.convert
Interface AtomicConverter
- All Known Implementing Classes:
- AtomicConverterBase, ReflectionConverter
public interface AtomicConverter
Part of composite converters which converts one type to another.
- Version:
- $Revision: 1.1 $
- Author:
- Pavel Vlasov
getSourceType
java.lang.Class getSourceType()
- Returns:
- Type which converter converts from.
getTargetType
java.lang.Class getTargetType()
- Returns:
- Type which converter converts to.
convert
java.lang.Object convert(java.lang.Object source,
Converter master,
Context context)
- Converts object to target type.
- Parameters:
source
- Source object.master
- Master converter to delegate conversion
of object parts.
- Returns:
- Converted object.
Copyright © 2003 Hammurapi Group. All Rights Reserved.