Class FormatNumberTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.standard.tag.common.fmt.FormatNumberSupport
org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag
- All Implemented Interfaces:
BodyTag,IterationTag,JspTag,Tag,Serializable
A handler for <formatNumber> that accepts attributes as Strings and evaluates them as expressions at runtime.
- Author:
- Jan Luehe
- See Also:
-
Field Summary
Fields inherited from class org.apache.taglibs.standard.tag.common.fmt.FormatNumberSupport
currencyCode, currencySymbol, groupingUsedSpecified, isGroupingUsed, maxFractionDigits, maxFractionDigitsSpecified, maxIntegerDigits, maxIntegerDigitsSpecified, minFractionDigits, minFractionDigitsSpecified, minIntegerDigits, minIntegerDigitsSpecified, pattern, type, value, valueSpecifiedFields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDefault processing of the start tag returning EVAL_BODY_BUFFERED.voidrelease()Release state.voidsetCurrencyCode(String currencyCode_) voidsetCurrencySymbol(String currencySymbol_) voidsetGroupingUsed(String groupingUsed_) voidsetMaxFractionDigits(String maxFractionDigits_) voidsetMaxIntegerDigits(String maxIntegerDigits_) voidsetMinFractionDigits(String minFractionDigits_) voidsetMinIntegerDigits(String minIntegerDigits_) voidsetPattern(String pattern_) voidvoidMethods inherited from class org.apache.taglibs.standard.tag.common.fmt.FormatNumberSupport
doEndTag, setScope, setVarMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
FormatNumberTag
public FormatNumberTag()Constructs a new FormatNumberTag. As with TagSupport, subclasses should not provide other constructors and are expected to call the superclass constructor
-
-
Method Details
-
doStartTag
Description copied from class:BodyTagSupportDefault processing of the start tag returning EVAL_BODY_BUFFERED.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classBodyTagSupport- Returns:
- EVAL_BODY_BUFFERED
- Throws:
JspException- if an error occurred while processing this tag- See Also:
-
release
public void release()Description copied from class:BodyTagSupportRelease state.- Specified by:
releasein interfaceTag- Overrides:
releasein classFormatNumberSupport- See Also:
-
setValue
-
setType
-
setPattern
-
setCurrencyCode
-
setCurrencySymbol
-
setGroupingUsed
-
setMaxIntegerDigits
-
setMinIntegerDigits
-
setMaxFractionDigits
-
setMinFractionDigits
-