public abstract class AbstractSimpleTypeConvertor extends AbstractTypeConvertor
Constructor and Description |
---|
AbstractSimpleTypeConvertor(java.lang.Class<?> fromType,
java.lang.Class<?> toType)
Construct a Converter between given fromType an toType.
|
Modifier and Type | Method and 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, toType
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
convert
public 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