public class FormattedBooleanConverter extends BaseConverter implements StateHolder
Modifier and Type | Field and Description |
---|---|
static String |
CONVERTER_ID |
protected int |
nReplyStyle |
static int |
STYLE_FORMAL |
static int |
STYLE_INFORMAL |
static int |
STYLE_JAVA |
BAD_PARAMETER_LONG_ID, BAD_PARAMETER_SHORT_ID, BAD_STRING_LONG_ID, BAD_STRING_SHORT_ID, BAD_TYPE_LONG_ID, BAD_TYPE_SHORT_ID, m_bshowCAFErrorMsg, m_clientLocale, m_CustomMessage
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
Constructor and Description |
---|
FormattedBooleanConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
getAsObject(FacesContext context,
UIComponent component,
String value) |
String |
getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
getReplyStyle() |
boolean |
isTransient() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setReplyStyle(String sReplyStyle) |
void |
setTransient(boolean bValue) |
getBadCommonInputMsg, getBadInputMsg, getBadInputMsg, getBadInputStringTypeMsg, getBadInputTypeMsg, getClientLocale, getClientTimeZone, getCustomErrorMsg, getRegion, getshowCAFErrorMsg, isBlankValue, isStringObj, isValue, setCustomErrorMsg, setRegion, setshowCAFErrorMsg, validateFromObject, validateFromString
public static final String CONVERTER_ID
public static final int STYLE_JAVA
public static final int STYLE_FORMAL
public static final int STYLE_INFORMAL
protected int nReplyStyle
public Object getAsObject(FacesContext context, UIComponent component, String value)
getAsObject
in interface Converter
public String getAsString(FacesContext context, UIComponent component, Object value)
getAsString
in interface Converter
public String getReplyStyle()
public void setReplyStyle(String sReplyStyle)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
public void setTransient(boolean bValue)
setTransient
in interface StateHolder
public boolean isTransient()
isTransient
in interface StateHolder