org.apache.myfaces.examples.common
Class CarConfigurator.ColorConverter

java.lang.Object
  extended by org.apache.myfaces.examples.common.CarConfigurator.ColorConverter
All Implemented Interfaces:
javax.faces.convert.Converter
Enclosing class:
CarConfigurator

public static class CarConfigurator.ColorConverter
extends Object
implements javax.faces.convert.Converter


Constructor Summary
CarConfigurator.ColorConverter()
           
 
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

CarConfigurator.ColorConverter

public CarConfigurator.ColorConverter()
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 © 2010 The Apache Software Foundation. All Rights Reserved.