org.apache.tapestry.coerce
Class StringToListConverter
java.lang.Object
org.apache.tapestry.coerce.StringToListConverter
- All Implemented Interfaces:
- TypeConverter
public final class StringToListConverter
- extends Object
- implements TypeConverter
Converts String values into Collection
instances. String values can
be a single "string" or multiple strings delimited by a "," comma.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringToListConverter
public StringToListConverter()
convertValue
public Object convertValue(Object value)
- Converts the value.
- Specified by:
convertValue
in interface TypeConverter
- Parameters:
value
- the value to be converted (which may be null)
- Returns:
- the value converted to a specific type; different implementations of TypeConverter
will return different types.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.