code: public Object getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
      {
          if (facesContext == null)
          {
              throw new NullPointerException("facesContext");
          }
          if (uiComponent == null)
          {
              throw new NullPointerException("uiComponent");
          }
  
          if (value != null)
          {
              {
                  value = value.trim();
                  if (value.length() > 0)
                  {
                      try
                      {
                          return new BigDecimal(value.trim());
                      }
                      catch (NumberFormatException e)
                      {
                          throw new ConverterException(_MessageUtils.getErrorMessage(facesContext,
                                         DECIMAL_ID,
                                         new Object[]{value,new BigDecimal(4815.16).toString(),
                                                      _MessageUtils.getLabel(facesContext, uiComponent)}), e);
                      }
                  }
              }
          }
          return null;
      }
docs: METHODS