Package com.webmethods.caf.faces.convert
Class FormattedBooleanConverter
java.lang.Object
com.webmethods.caf.faces.convert.BaseConverter
com.webmethods.caf.faces.convert.FormattedBooleanConverter
- All Implemented Interfaces:
StateHolder
,Converter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected int
static final int
static final int
static final int
Fields inherited from class com.webmethods.caf.faces.convert.BaseConverter
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
Fields inherited from interface javax.faces.convert.Converter
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAsObject
(FacesContext context, UIComponent component, String value) getAsString
(FacesContext context, UIComponent component, Object value) boolean
void
restoreState
(FacesContext context, Object state) saveState
(FacesContext context) void
setReplyStyle
(String sReplyStyle) void
setTransient
(boolean bValue) Methods inherited from class com.webmethods.caf.faces.convert.BaseConverter
getBadCommonInputMsg, getBadInputMsg, getBadInputMsg, getBadInputStringTypeMsg, getBadInputTypeMsg, getClientLocale, getClientTimeZone, getCustomErrorMsg, getRegion, getshowCAFErrorMsg, isBlankValue, isStringObj, isValue, setCustomErrorMsg, setRegion, setshowCAFErrorMsg, validateFromObject, validateFromString
-
Field Details
-
CONVERTER_ID
- See Also:
-
STYLE_JAVA
public static final int STYLE_JAVA- See Also:
-
STYLE_FORMAL
public static final int STYLE_FORMAL- See Also:
-
STYLE_INFORMAL
public static final int STYLE_INFORMAL- See Also:
-
nReplyStyle
protected int nReplyStyle
-
-
Constructor Details
-
FormattedBooleanConverter
public FormattedBooleanConverter()
-
-
Method Details
-
getAsObject
- Specified by:
getAsObject
in interfaceConverter
-
getAsString
- Specified by:
getAsString
in interfaceConverter
-
getReplyStyle
-
setReplyStyle
-
saveState
- Specified by:
saveState
in interfaceStateHolder
-
restoreState
- Specified by:
restoreState
in interfaceStateHolder
-
setTransient
public void setTransient(boolean bValue) - Specified by:
setTransient
in interfaceStateHolder
-
isTransient
public boolean isTransient()- Specified by:
isTransient
in interfaceStateHolder
-