Home » Mojarra-2.0.1 » javax » faces » convert » [javadoc | source]
javax.faces.convert
public class: BigDecimalConverter [javadoc | source]
java.lang.Object
   javax.faces.convert.BigDecimalConverter

All Implemented Interfaces:
    Converter

Converter implementation for java.math.BigDecimal values.

Field Summary
public static final  String CONVERTER_ID   

The standard converter id for this converter.

 
public static final  String DECIMAL_ID   

The message identifier of the javax.faces.application.FacesMessage to be created if the conversion to BigDecimal fails. The message format string for this message may optionally include the following placeholders:

  • {0} replaced by the unconverted value.
  • {1} replaced by an example value.
  • {2} replaced by a String whose value is the label of the input component that produced this message.

 
public static final  String STRING_ID   

The message identifier of the javax.faces.application.FacesMessage to be created if the conversion of the BigDecimal value to String fails. The message format string for this message may optionally include the following placeholders:

  • {0} relaced by the unconverted value.
  • {1} replaced by a String whose value is the label of the input component that produced this message.

 
Method from javax.faces.convert.BigDecimalConverter Summary:
getAsObject,   getAsString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.convert.BigDecimalConverter Detail:
 public Object getAsObject(FacesContext context,
    UIComponent component,
    String value) 
 public String getAsString(FacesContext context,
    UIComponent component,
    Object value)