Class FormatNumberTag

All Implemented Interfaces:
BodyTag, IterationTag, JspTag, Tag, Serializable

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

      public int doStartTag() throws JspException
      Description copied from class: BodyTagSupport
      Default processing of the start tag returning EVAL_BODY_BUFFERED.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class BodyTagSupport
      Returns:
      EVAL_BODY_BUFFERED
      Throws:
      JspException - if an error occurred while processing this tag
      See Also:
    • release

      public void release()
      Description copied from class: BodyTagSupport
      Release state.
      Specified by:
      release in interface Tag
      Overrides:
      release in class FormatNumberSupport
      See Also:
    • 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_)