| org.apache.cocoon.forms.datatype.convertor.Convertor
All known Subclasses: org.apache.cocoon.forms.datatype.convertor.Icu4jDateConvertor, org.apache.cocoon.forms.datatype.convertor.PlainLongConvertor, org.apache.cocoon.forms.datatype.convertor.DummyStringConvertor, org.apache.cocoon.forms.datatype.convertor.FormattingDecimalConvertor, org.apache.cocoon.forms.datatype.convertor.CharConvertor, org.apache.cocoon.forms.datatype.convertor.PlainDoubleConvertor, org.apache.cocoon.forms.datatype.convertor.PlainBooleanConvertor, org.apache.cocoon.forms.datatype.convertor.FormattingDateConvertor, org.apache.cocoon.forms.datatype.convertor.DefaultFormatCache, org.apache.cocoon.forms.datatype.convertor.PlainDecimalConvertor, org.apache.cocoon.forms.datatype.convertor.HtmlCleaningConvertor, org.apache.cocoon.forms.datatype.convertor.MillisDateConvertor, org.apache.cocoon.forms.datatype.convertor.PlainFloatConvertor, org.apache.cocoon.forms.datatype.convertor.PlainIntegerConvertor, org.apache.cocoon.forms.datatype.convertor.BeanConvertor, org.apache.cocoon.forms.datatype.convertor.EnumConvertor,
Convertor | public interface Convertor (Code) | | The purpose of a Convertor is to convert between Object and String
representations of the same thing. For example, convert
Long s or
java.util.Date Date s to strings, and vice
versa. The behaviour of this conversion process can depend on the
user's Locale.
If you need to do mass conversion of a lot of values, it may be
beneficial to pass a
FormatCache object to the convert methods.
Some convertors need to build and configure parser or formatting objects,
which can be expensive if it needs to be done repeatedly.
version: $Id: Convertor.java 449149 2006-09-23 03:58:05Z crossley $ |
Inner Class :public interface FormatCache | |
convertFromString | ConversionResult convertFromString(String value, Locale locale, FormatCache formatCache)(Code) | | Converts string representation into the object of convertor's type.
Parameters: formatCache - can be null if not needed |
|
|