| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.clay.convert.TimeZoneConverter
public class TimeZoneConverter
Converts a time zone id literal string into the
 TimeZone and back to a string.
| Constructor Summary | |
|---|---|
| TimeZoneConverter() | |
| Method Summary | |
|---|---|
|  Object | getAsObject(javax.faces.context.FacesContext facesContext,
            javax.faces.component.UIComponent component,
            String value)Converts the string zone ID into a TimeZone object. | 
|  String | getAsString(javax.faces.context.FacesContext facesContext,
            javax.faces.component.UIComponent component,
            Object value)Converts a TimeZone object into the string zone id. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TimeZoneConverter()
| Method Detail | 
|---|
public Object getAsObject(javax.faces.context.FacesContext facesContext,
                          javax.faces.component.UIComponent component,
                          String value)
Converts the string zone ID into a TimeZone object.
getAsObject in interface javax.faces.convert.ConverterfacesContext - jsf faces contextcomponent - converter assignedvalue - to be converterd
public String getAsString(javax.faces.context.FacesContext facesContext,
                          javax.faces.component.UIComponent component,
                          Object value)
Converts a TimeZone object into the string zone id.
getAsString in interface javax.faces.convert.ConverterfacesContext - jsf faces contextcomponent - converter assignedvalue - to be converterd
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||