org.apache.myfaces.tobago.convert
Class DurationConverter

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

public class DurationConverter
extends Object
implements Converter


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

Field Detail

CONVERTER_ID

public static final String CONVERTER_ID
See Also:
Constant Field Values
Constructor Detail

DurationConverter

public DurationConverter()
Method Detail

getAsString

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

getAsObject

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


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