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 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, setConverterId
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public 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
ConverterELTag
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. If the localValue of the
UIComponent
is a String, attempt to convert it.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class ConverterELTag
javax.servlet.jsp.JspException
- if a Jakarta Server Pages error occursprotected Converter createConverter() throws javax.servlet.jsp.JspException
ConverterELTag
Create and return a new Converter
to be registered
on our surrounding UIComponent
.
createConverter
in class AbstractConverterTag
Converter
javax.servlet.jsp.JspException
- if a new instance cannot be createdComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.