org.apache.beehive.netui.tags.html
Class FormatString.StringFormatter

Object
  extended by FormatTag.Formatter
      extended by FormatString.StringFormatter
Enclosing class:
FormatString

public static class FormatString.StringFormatter
extends FormatTag.Formatter

Internal FormatTag.Formatter which performs its own string parsing and formatting.


Constructor Summary
FormatString.StringFormatter()
           
 
Method Summary
 String format(Object dataToFormat)
           
 boolean getTruncate()
           
 void setTruncate(boolean truncate)
           
 
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

FormatString.StringFormatter

public FormatString.StringFormatter()
Method Detail

getTruncate

public boolean getTruncate()

setTruncate

public void setTruncate(boolean truncate)

format

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