org.apache.myfaces.tobago.convert
Class LocaleConverter

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

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


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

Constructor Detail

LocaleConverter

public LocaleConverter()
Method Detail

getAsObject

public Object getAsObject(javax.faces.context.FacesContext facesContext,
                          javax.faces.component.UIComponent component,
                          String value)
Specified by:
getAsObject in interface javax.faces.convert.Converter

getAsString

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


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