PrettyTime - Integration - JSF 2.1.0

org.ocpsoft.prettytime.jsf
Class PrettyTimeConverter

java.lang.Object
  extended by org.ocpsoft.prettytime.jsf.PrettyTimeConverter
All Implemented Interfaces:
Serializable, javax.faces.convert.Converter

public class PrettyTimeConverter
extends Object
implements javax.faces.convert.Converter, Serializable

See Also:
Serialized Form

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

Constructor Detail

PrettyTimeConverter

public PrettyTimeConverter()
Method Detail

getAsObject

public Object getAsObject(javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent comp,
                          String value)
Specified by:
getAsObject in interface javax.faces.convert.Converter

getAsString

public String getAsString(javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent comp,
                          Object value)
Specified by:
getAsString in interface javax.faces.convert.Converter

PrettyTime - Integration - JSF 2.1.0

Copyright © 2012 OCPsoft. All Rights Reserved.