public class ByteConverter extends ByteConverter
Converter
implementation for java.lang.Byte
(and byte primitive) values.
WTN-1257 - Replacement for the JSF ByteConverter to correct the error message text.
NOTE: This class can be removed after updating to mojarra version 2.2.8 or later.
BYTE_ID, CONVERTER_ID, STRING_ID
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
Constructor and Description |
---|
ByteConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
getAsObject(FacesContext context,
UIComponent component,
String value) |
String |
getAsString(FacesContext context,
UIComponent component,
Object value) |
public Object getAsObject(FacesContext context, UIComponent component, String value)
getAsObject
in interface Converter
getAsObject
in class ByteConverter
ConverterException
NullPointerException
public String getAsString(FacesContext context, UIComponent component, Object value)
getAsString
in interface Converter
getAsString
in class ByteConverter
ConverterException
NullPointerException