org.apache.tapestry.coerce
Class ValueConverterImpl
java.lang.Object
org.apache.tapestry.coerce.ValueConverterImpl
- All Implemented Interfaces:
- ValueConverter
public class ValueConverterImpl
- extends Object
- implements ValueConverter
Implementation of ValueConverter
. Selects an appropriate type
converter and delegates to it.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_contributions
public List _contributions
- List of
TypeConverterContribution
.
ValueConverterImpl
public ValueConverterImpl()
initializeService
public void initializeService()
coerceValue
public Object coerceValue(Object value,
Class desiredType)
- Description copied from interface:
ValueConverter
- Performs a conversion of a value to a particular type.
- Specified by:
coerceValue
in interface ValueConverter
- Parameters:
value
- The value to be converted (may be null)desiredType
- the type that will be converted to
setContributions
public void setContributions(List contributions)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.