Class FormatNumberTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class FormatNumberTag
    extends FormatNumberSupport

    A handler for <formatNumber> that accepts attributes as Strings and evaluates them as expressions at runtime.

    Author:
    Jan Luehe
    See Also:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
        Throws:
        javax.servlet.jsp.JspException
      • release

        public void release()
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class FormatNumberSupport
      • setValue

        public void setValue​(String value_)
      • setType

        public void setType​(String type_)
      • setPattern

        public void setPattern​(String pattern_)
      • setCurrencyCode

        public void setCurrencyCode​(String currencyCode_)
      • setCurrencySymbol

        public void setCurrencySymbol​(String currencySymbol_)
      • setGroupingUsed

        public void setGroupingUsed​(String groupingUsed_)
      • setMaxIntegerDigits

        public void setMaxIntegerDigits​(String maxIntegerDigits_)
      • setMinIntegerDigits

        public void setMinIntegerDigits​(String minIntegerDigits_)
      • setMaxFractionDigits

        public void setMaxFractionDigits​(String maxFractionDigits_)
      • setMinFractionDigits

        public void setMinFractionDigits​(String minFractionDigits_)