| java.lang.Object com.ivata.mask.field.FieldValueConvertor com.ivata.mask.field.number.NumberFieldValueConvertor
NumberFieldValueConvertor | public class NumberFieldValueConvertor extends FieldValueConvertor (Code) | | This convertor is used when the field value is a string representing a number
or floating point (such as an amount or rate).
since: ivata masks 0.1 (2004-05-14) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.7 $ |
Constructor Summary | |
public | NumberFieldValueConvertor(String pattern)
Construct a new value convertor from the format pattern supplied.
Parameters: pattern - number format pattern to use to convert the number. |
Method Summary | |
protected String | toString(Object objectValue)
Convert an object representing a number to a string.
Parameters: objectValue - object to be converted. |
NumberFieldValueConvertor | public NumberFieldValueConvertor(String pattern)(Code) | |
Construct a new value convertor from the format pattern supplied.
Parameters: pattern - number format pattern to use to convert the number. Seejava.text.DecimalFormat. |
toString | protected String toString(Object objectValue)(Code) | |
Convert an object representing a number to a string.
Parameters: objectValue - object to be converted. string equivalent of the object provided. See Also: com.ivata.mask.web.field.FieldValueConvertor.toString |
|
|