org.apache.myfaces.tobago.example.reference
Class OnOffConverter

java.lang.Object
  extended by org.apache.myfaces.tobago.example.reference.OnOffConverter
All Implemented Interfaces:
Converter

public class OnOffConverter
extends Object
implements Converter

User: lofwyr Date: 07.11.2006 13:36:09


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

Constructor Detail

OnOffConverter

public OnOffConverter()
Method Detail

getAsObject

public Object getAsObject(FacesContext context,
                          UIComponent component,
                          String value)
                   throws ConverterException
Specified by:
getAsObject in interface Converter
Throws:
ConverterException

getAsString

public String getAsString(FacesContext context,
                          UIComponent component,
                          Object value)
                   throws ConverterException
Specified by:
getAsString in interface Converter
Throws:
ConverterException


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.