org.apache.beehive.netui.tags.html
Class FormatNumber.NumberFormatter

Object
  extended by FormatTag.Formatter
      extended by FormatNumber.NumberFormatter
Enclosing class:
FormatNumber

public static class FormatNumber.NumberFormatter
extends FormatTag.Formatter

Internal FormatTag.Formatter which uses NumberFormat.


Constructor Summary
FormatNumber.NumberFormatter()
           
 
Method Summary
 String format(Object dataToFormat)
           
 void setLocale(Locale locale)
           
 void setType(String type)
           
 
Methods inherited from class FormatTag.Formatter
getErrorMessage, getPattern, hasError, setPattern
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatNumber.NumberFormatter

public FormatNumber.NumberFormatter()
Method Detail

setType

public void setType(String type)

setLocale

public void setLocale(Locale locale)

format

public String format(Object dataToFormat)
              throws JspException
Overrides:
format in class FormatTag.Formatter
Throws:
JspException