org.jboss.seam.faces.conversion
Class Converter<T>
java.lang.Object
org.jboss.seam.faces.conversion.Converter<T>
- All Implemented Interfaces:
- javax.faces.convert.Converter
public abstract class Converter<T>
- extends Object
- implements javax.faces.convert.Converter
A generic abstract class implementing Converter, for convenient removal of type casting.
- Author:
- Brian Leathem
|
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)
|
javax.faces.context.FacesContext |
getContext()
|
abstract T |
toObject(javax.faces.component.UIComponent comp,
String value)
|
abstract String |
toString(javax.faces.component.UIComponent comp,
T value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Converter
public Converter()
toObject
public abstract T toObject(javax.faces.component.UIComponent comp,
String value)
toString
public abstract String toString(javax.faces.component.UIComponent comp,
T value)
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
getContext
public javax.faces.context.FacesContext getContext()
Copyright © 2009-2011 Seam Framework. All Rights Reserved.