public class FacesConverter<T> extends Object implements Converter<T>
| Modifier and Type | Method and Description |
|---|---|
T |
convert(Rewrite event,
EvaluationContext context,
Object value) |
static <T> FacesConverter<T> |
forId(String converterId)
Create a
Converter with the given ID. |
static <T> FacesConverter<T> |
forType(Class<?> targetType)
Create a
Converter adapter for the given target type. |
String |
toString() |
public static <T> FacesConverter<T> forType(Class<?> targetType)
Converter adapter for the given target type. The converter will use
Application.createConverter(Class) to obtain the underlying JSF converter.public static <T> FacesConverter<T> forId(String converterId)
Converter with the given ID. The converter will use Application#createConverter(String))
to obtain the underlying JSF converter.public T convert(Rewrite event, EvaluationContext context, Object value)
Copyright © 2015 OCPsoft. All Rights Reserved.