Logo Search packages:      
Sourcecode: mojarra version File versions  Download package

void javax::faces::convert::NumberConverter::setType ( String  type  )  [inline]

Set the number type to be used when formatting and parsing numbers. Valid values are currency, number, or percent. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.

type The new number style

Definition at line 524 of file NumberConverter.java.

References clearInitialState().

Referenced by com::sun::faces::taglib::jsf_core::ConvertNumberTag::createConverter().


        this.type = type;


Generated by  Doxygen 1.6.0   Back to index