public class FormatNumberTag extends FormatNumberSupport
A handler for <formatNumber> that accepts attributes as Strings and evaluates them as expressions at runtime.
currencyCode, currencySymbol, groupingUsedSpecified, isGroupingUsed, maxFractionDigits, maxFractionDigitsSpecified, maxIntegerDigits, maxIntegerDigitsSpecified, minFractionDigits, minFractionDigitsSpecified, minIntegerDigits, minIntegerDigitsSpecified, pattern, type, value, valueSpecified
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
FormatNumberTag()
Constructs a new FormatNumberTag.
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED.
|
void |
release()
Release state.
|
void |
setCurrencyCode(String currencyCode_) |
void |
setCurrencySymbol(String currencySymbol_) |
void |
setGroupingUsed(String groupingUsed_) |
void |
setMaxFractionDigits(String maxFractionDigits_) |
void |
setMaxIntegerDigits(String maxIntegerDigits_) |
void |
setMinFractionDigits(String minFractionDigits_) |
void |
setMinIntegerDigits(String minIntegerDigits_) |
void |
setPattern(String pattern_) |
void |
setType(String type_) |
void |
setValue(String value_) |
doEndTag, setScope, setVar
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public FormatNumberTag()
public int doStartTag() throws JspException
BodyTagSupport
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class FormatNumberSupport
Tag.release()
public void setValue(String value_)
public void setType(String type_)
public void setPattern(String pattern_)
public void setCurrencyCode(String currencyCode_)
public void setCurrencySymbol(String currencySymbol_)
public void setGroupingUsed(String groupingUsed_)
public void setMaxIntegerDigits(String maxIntegerDigits_)
public void setMinIntegerDigits(String minIntegerDigits_)
public void setMaxFractionDigits(String maxFractionDigits_)
public void setMinFractionDigits(String minFractionDigits_)
Copyright © 2018 JBoss by Red Hat. All rights reserved.