public class FormatNumberTag extends BodyTagSupport
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
FormatNumberTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Process the tag.
|
protected java.text.NumberFormat |
getFormat() |
void |
setCurrencyCode(Expr currencyCode)
Sets the currency code.
|
void |
setCurrencySymbol(Expr currencySymbol)
Sets the currency symbol.
|
void |
setGroupingUsed(Expr groupingUsed)
Sets the groupingUsed expression
|
void |
setMaxFractionDigits(Expr maxFractionDigits)
Sets the maximum digits allowed in the fraction portion.
|
void |
setMaxIntegerDigits(Expr maxIntegerDigits)
Sets the maximum digits allowed in the integer portion.
|
void |
setMinFractionDigits(Expr minFractionDigits)
Sets the minimum digits allowed in the fraction portion.
|
void |
setMinIntegerDigits(Expr minIntegerDigits)
Sets the minimum digits allowed in the integer portion.
|
void |
setPattern(Expr pattern)
Sets the number pattern.
|
void |
setScope(java.lang.String scope)
Sets the variable scope.
|
void |
setType(Expr type)
Sets the formatting type.
|
void |
setValue(Expr value)
Sets the formatting value.
|
void |
setVar(java.lang.String var)
Sets the variable name.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic void setValue(Expr value)
value - the JSP-EL expression for the value.public void setType(Expr type)
type - the JSP-EL expression for the type.public void setPattern(Expr pattern)
pattern - the JSP-EL expression for the number pattern.public void setCurrencyCode(Expr currencyCode)
currencyCode - the JSP-EL expression for the currency code.public void setCurrencySymbol(Expr currencySymbol)
currencySymbol - the JSP-EL expression for the currency symbol.public void setGroupingUsed(Expr groupingUsed)
groupingUsed - the JSP-EL expression for the grouping pattern.public void setMinIntegerDigits(Expr minIntegerDigits)
minIntegerDigits - the JSP-EL expression for the digits.public void setMaxIntegerDigits(Expr maxIntegerDigits)
maxIntegerDigits - the JSP-EL expression for the digits.public void setMinFractionDigits(Expr minFractionDigits)
minFractionDigits - the JSP-EL expression for the digits.public void setMaxFractionDigits(Expr maxFractionDigits)
maxFractionDigits - the JSP-EL expression for the digits.public void setVar(java.lang.String var)
var - the variable name to store the value in.public void setScope(java.lang.String scope)
scope - the variable scope to store the value in.public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspExceptionprotected java.text.NumberFormat getFormat()
throws JspException
JspException