public class ConvertNumberTag extends AbstractConverterTag
ConvertNumberTag is a ConverterTag implementation for javax.faces.convert.NumberConverter
binding, converterId| Constructor and Description |
|---|
ConvertNumberTag() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.faces.convert.Converter |
createConverter()
Create and return a new
Converter to be registered
on our surrounding UIComponent. |
int |
doStartTag()
Create a new instance of the specified
Converter
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentClassicTagBase instance, if
the UIComponent instance was created by this execution of the
containing Jakarta Server Pages page. |
protected static Locale |
getLocale(String string) |
void |
release() |
void |
setCurrencyCode(javax.el.ValueExpression currencyCode) |
void |
setCurrencySymbol(javax.el.ValueExpression currencySymbol) |
void |
setGroupingUsed(javax.el.ValueExpression groupingUsed) |
void |
setIntegerOnly(javax.el.ValueExpression integerOnly) |
void |
setLocale(javax.el.ValueExpression locale) |
void |
setMaxFractionDigits(javax.el.ValueExpression maxFractionDigits) |
void |
setMaxIntegerDigits(javax.el.ValueExpression maxIntegerDigits) |
void |
setMinFractionDigits(javax.el.ValueExpression minFractionDigits) |
void |
setMinIntegerDigits(javax.el.ValueExpression minIntegerDigits) |
void |
setPattern(javax.el.ValueExpression pattern) |
void |
setType(javax.el.ValueExpression type) |
createConverter, setBinding, setConverterIdpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic void setCurrencyCode(javax.el.ValueExpression currencyCode)
public void setCurrencySymbol(javax.el.ValueExpression currencySymbol)
public void setGroupingUsed(javax.el.ValueExpression groupingUsed)
public void setIntegerOnly(javax.el.ValueExpression integerOnly)
public void setMaxFractionDigits(javax.el.ValueExpression maxFractionDigits)
public void setMaxIntegerDigits(javax.el.ValueExpression maxIntegerDigits)
public void setMinFractionDigits(javax.el.ValueExpression minFractionDigits)
public void setMinIntegerDigits(javax.el.ValueExpression minIntegerDigits)
public void setLocale(javax.el.ValueExpression locale)
public void setPattern(javax.el.ValueExpression pattern)
public void setType(javax.el.ValueExpression type)
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.faces.webapp.ConverterELTagCreate a new instance of the specified Converter
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentClassicTagBase instance, if
the UIComponent instance was created by this execution of the
containing Jakarta Server Pages page. If the localValue of the
UIComponent is a String, attempt to convert it.
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.faces.webapp.ConverterELTagjavax.servlet.jsp.JspException - if a Jakarta Server Pages error occursprotected javax.faces.convert.Converter createConverter()
throws javax.servlet.jsp.JspException
javax.faces.webapp.ConverterELTagCreate and return a new Converter to be registered
on our surrounding UIComponent.
createConverter in class AbstractConverterTagConverterjavax.servlet.jsp.JspException - if a new instance cannot be createdCopyright © 2010–2020 JBoss by Red Hat. All rights reserved.