- java.lang.Object
-
- org.omnifaces.taghandler.Converter.DeferredConverter
-
- All Implemented Interfaces:
Converter<Object>
,Serializable
- Enclosing class:
- Converter
protected static class Converter.DeferredConverter extends Object implements Converter<Object>, Serializable
So that we can have a serializable converter.- Author:
- Bauke Scholtz
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface jakarta.faces.convert.Converter
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
-
-
Constructor Summary
Constructors Constructor Description DeferredConverter(Converter<Object> converter, ValueExpression binding, ValueExpression id, org.omnifaces.taghandler.DeferredTagHandlerHelper.DeferredAttributes attributes)
Construct the deferred converter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAsObject(FacesContext context, UIComponent component, String value)
String
getAsString(FacesContext context, UIComponent component, Object value)
-
-
-
Constructor Detail
-
DeferredConverter
public DeferredConverter(Converter<Object> converter, ValueExpression binding, ValueExpression id, org.omnifaces.taghandler.DeferredTagHandlerHelper.DeferredAttributes attributes)
Construct the deferred converter.- Parameters:
converter
- The wrapped converter.binding
- The binding expression.id
- The ID expression.attributes
- The deferred attributes.
-
-
Method Detail
-
getAsObject
public Object getAsObject(FacesContext context, UIComponent component, String value)
- Specified by:
getAsObject
in interfaceConverter<Object>
-
getAsString
public String getAsString(FacesContext context, UIComponent component, Object value)
- Specified by:
getAsString
in interfaceConverter<Object>
-
-