org.apache.beehive.netui.tags.html
Class FormatTag.Formatter

Object
  extended by FormatTag.Formatter
Direct Known Subclasses:
FormatDate.DateFormatter, FormatNumber.NumberFormatter, FormatString.StringFormatter
Enclosing class:
FormatTag

public abstract static class FormatTag.Formatter
extends Object

Internal FormatTag.Formatter which performs the actual formatting.


Constructor Summary
FormatTag.Formatter()
           
 
Method Summary
 String format(Object dataToFormat)
           
 String getErrorMessage()
           
 String getPattern()
           
 boolean hasError()
           
 void setPattern(String pattern)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatTag.Formatter

public FormatTag.Formatter()
Method Detail

getPattern

public String getPattern()

setPattern

public void setPattern(String pattern)

format

public String format(Object dataToFormat)
              throws JspException
Throws:
JspException

hasError

public boolean hasError()

getErrorMessage

public String getErrorMessage()