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

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

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


Constructor Summary
CarConfigurator.ColorConverter()
           
 
Method Summary
 java.lang.Object getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, java.lang.String string)
           
 java.lang.String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, java.lang.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 java.lang.Object getAsObject(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent component,
                                    java.lang.String string)
                             throws javax.faces.convert.ConverterException
Specified by:
getAsObject in interface javax.faces.convert.Converter
Throws:
javax.faces.convert.ConverterException

getAsString

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


Copyright © 2007 Apache Software Foundation. All Rights Reserved.