org.apache.myfaces.tobago.convert
Class CurrencyConverter

java.lang.Object
  extended by org.apache.myfaces.tobago.convert.CurrencyConverter
All Implemented Interfaces:
javax.faces.convert.Converter

public class CurrencyConverter
extends Object
implements javax.faces.convert.Converter

JSF converter for the java.util.Currency class.


Constructor Summary
CurrencyConverter()
           
 
Method Summary
 Object getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String string)
           
 String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyConverter

public CurrencyConverter()
Method Detail

getAsObject

public Object 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
Throws:
javax.faces.convert.ConverterException

getAsString

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


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.