|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.cpa.persistence.convertor.AbstractTypeConvertor
org.castor.cpa.persistence.convertor.AbstractSimpleTypeConvertor
Abstract base class to convert from one type to another without any configuration or parameters.
| Constructor Summary | |
AbstractSimpleTypeConvertor(java.lang.Class fromType,
java.lang.Class toType)
Construct a Converter between given fromType an toType. |
|
| Method Summary | |
void |
configure(org.castor.core.util.Configuration configuration)
Configure the converter with given configuration. |
void |
parameterize(java.lang.String parameter)
Initialize the converter with the given parameter. If no parameter is available the method don't need to be called or may be called with null which both should lead to
the default behaviour of the converter. |
| Methods inherited from class org.castor.cpa.persistence.convertor.AbstractTypeConvertor |
clone, fromType, toString, toType |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.castor.cpa.persistence.convertor.TypeConvertor |
convert |
| Constructor Detail |
public AbstractSimpleTypeConvertor(java.lang.Class fromType,
java.lang.Class toType)
fromType - The type being converted from.toType - The type being converted to.| Method Detail |
public final void configure(org.castor.core.util.Configuration configuration)
configuration - Configuration to use.public final void parameterize(java.lang.String parameter)
null which both should lead to
the default behaviour of the converter.
parameter - The parameter for the convertor (null if is not specified).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||