java.lang.Cloneable, TypeConvertor, TypeConvertorBigDecimalToBoolean, BigDecimalToByte, BigDecimalToDouble, BigDecimalToFloat, BigDecimalToInteger, BigDecimalToLong, BigDecimalToShort, ByteArrayToInputStream, ByteArrayToSerializable, ByteArrayToString, ByteToBigDecimal, ByteToInteger, ByteToShort, CastorDateToDate, CastorDateToSqlDate, CastorDurationToLong, CastorTimeToLong, CharArrayToSqlClob, CharArrayToString, DateToCastorDate, DateToLong, DateToSqlDate, DateToSqlTime, DateToSqlTimestamp, DoubleToBigDecimal, DoubleToFloat, DoubleToInteger, DoubleToLong, EnumToOrdinal, EnumTypeConvertor, FloatToBigDecimal, FloatToDouble, FloatToInteger, FloatToLong, IntegerToBigDecimal, IntegerToBoolean, IntegerToByte, IntegerToDouble, IntegerToFloat, IntegerToLong, IntegerToShort, LongToBigDecimal, LongToCastorDuration, LongToDate, LongToDouble, LongToFloat, LongToInteger, LongToShort, ObjectToString, SerializableToByteArray, SerializableToInputStream, ShortToBigDecimal, ShortToBoolean, ShortToByte, ShortToInteger, ShortToLong, SqlDateToCastorDate, SqlDateToDate, SqlTimestampToDate, SqlTimeToDate, StringToBigDecimal, StringToByteArray, StringToCastorDuration, StringToCastorTime, StringToCharacter, StringToCharArray, StringToDouble, StringToFloat, StringToInteger, StringToLong, StringToShort, StringToSqlClobpublic abstract class AbstractSimpleTypeConvertor extends AbstractTypeConvertor
| Constructor | Description |
|---|---|
AbstractSimpleTypeConvertor(java.lang.Class<?> fromType,
java.lang.Class<?> toType) |
Construct a Converter between given fromType an toType.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
configure(AbstractProperties properties) |
Configure the converter with given configuration.
|
void |
parameterize(java.lang.String parameter) |
Initialize the converter with the given parameter.
|
clone, fromType, toString, toTypeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconvertpublic AbstractSimpleTypeConvertor(java.lang.Class<?> fromType,
java.lang.Class<?> toType)
fromType - The type being converted from.toType - The type being converted to.public final void configure(AbstractProperties properties)
properties - Properties 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).Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com