org.apache.myfaces.custom.calendar
Class DefaultDateBusinessConverter

java.lang.Object
  extended by org.apache.myfaces.custom.calendar.DefaultDateBusinessConverter
All Implemented Interfaces:
DateBusinessConverter

public class DefaultDateBusinessConverter
extends Object
implements DateBusinessConverter

Since:
1.1.10
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (miƩ, 03 sep 2008) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Constructor Summary
DefaultDateBusinessConverter()
           
 
Method Summary
 Object getBusinessValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Date value)
          Convert the java.util.Date instance calculated from submittedValue, so the resulting object will be used later as the converted value and validation.
 Date getDateValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
          Used to retrieve the value stored in the business bean and convert it in a representation that the component (t:inputCalendar and t:inputDate for example)using this class can manipulate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDateBusinessConverter

public DefaultDateBusinessConverter()
Method Detail

getBusinessValue

public Object getBusinessValue(javax.faces.context.FacesContext context,
                               javax.faces.component.UIComponent component,
                               Date value)
Description copied from interface: DateBusinessConverter
Convert the java.util.Date instance calculated from submittedValue, so the resulting object will be used later as the converted value and validation.

Specified by:
getBusinessValue in interface DateBusinessConverter
Returns:

getDateValue

public Date getDateValue(javax.faces.context.FacesContext context,
                         javax.faces.component.UIComponent component,
                         Object value)
Description copied from interface: DateBusinessConverter
Used to retrieve the value stored in the business bean and convert it in a representation that the component (t:inputCalendar and t:inputDate for example)using this class can manipulate.

Specified by:
getDateValue in interface DateBusinessConverter
Returns:


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.