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

Locale javax::faces::convert::NumberConverter::getLocale (  )  [inline]

Return the Locale to be used when parsing numbers. If this value is null, the Locale stored in the javax.faces.component.UIViewRoot for the current request will be utilized.

Definition at line 449 of file NumberConverter.java.

Referenced by getAsObject(), and getAsString().

                              {

        if (this.locale == null) {
            this.locale =
                 getLocale(FacesContext.getCurrentInstance());
        }
        return (this.locale);

    }


Generated by  Doxygen 1.6.0   Back to index