WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.util
Class LastCommaTag

Object
  extended by SimpleTagSupport
      extended by TagHelper
          extended by hirondelle.web4jtools.util.LastCommaTag
All Implemented Interfaces:
JspTag, SimpleTag

public final class LastCommaTag
extends TagHelper

Trim the final comma appearing in text, along with any trailing characters appearing after the final comma.

This tag is used in code generation of lists of items separated by a comma. It is almost always necessary to remove the final comma from such lists.


Constructor Summary
LastCommaTag()
           
 
Method Summary
protected  String getEmittedText(String aText)
           
 
Methods inherited from class TagHelper
checkForContent, crossCheckAttributes, doTag, getPageContext, getPageName, getRequest, getResponse
 
Methods inherited from class SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LastCommaTag

public LastCommaTag()
Method Detail

getEmittedText

protected String getEmittedText(String aText)
                         throws JspException,
                                IOException
Specified by:
getEmittedText in class TagHelper
Throws:
JspException
IOException

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26