net.sourceforge.smile.converter
Class DateConverter
java.lang.Object
net.sourceforge.smile.converter.DateConverter
- All Implemented Interfaces:
- javax.faces.convert.Converter, java.io.Serializable
- public class DateConverter
- extends java.lang.Object
- implements javax.faces.convert.Converter
Converter class for Date, registered with the converterFactory with id "Date".
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String value)
|
java.lang.String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateConverter
public DateConverter()
getAsObject
public java.lang.Object getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String value)
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 context,
javax.faces.component.UIComponent component,
java.lang.Object obj)
throws javax.faces.convert.ConverterException
- Specified by:
getAsString
in interface javax.faces.convert.Converter
- Throws:
javax.faces.convert.ConverterException