Class CurrencyConverter

java.lang.Object
org.apache.myfaces.tobago.convert.CurrencyConverter
All Implemented Interfaces:
javax.faces.convert.Converter<Currency>

public class CurrencyConverter extends Object implements javax.faces.convert.Converter<Currency>
JSF converter for the Currency class.
  • Field Summary

    Fields inherited from interface javax.faces.convert.Converter

    DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String string)
     
    getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Currency currency)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CurrencyConverter

      public CurrencyConverter()
  • Method Details

    • getAsObject

      public Currency getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String string) throws javax.faces.convert.ConverterException
      Specified by:
      getAsObject in interface javax.faces.convert.Converter<Currency>
      Throws:
      javax.faces.convert.ConverterException
    • getAsString

      public String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Currency currency) throws javax.faces.convert.ConverterException
      Specified by:
      getAsString in interface javax.faces.convert.Converter<Currency>
      Throws:
      javax.faces.convert.ConverterException