org.dasein.net.jsp.util
Class GroupTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.dasein.net.jsp.util.GroupTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class GroupTag
extends TagSupport

Groups elements into a Map of grouped elements in which the key is a value from a specified field and the values are collections of items that have the same value for that field.

Last modified: $Date: 2006/05/03 05:12:49 $

Version:
$Revision: 1.2 $
Author:
George Reese
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GroupTag()
           
 
Method Summary
 int doEndTag()
           
 void setAttribute(String attr)
           
 void setList(String l)
           
 void setVar(String v)
           
 void setVarHeaders(String hdr)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupTag

public GroupTag()
Method Detail

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Throws:
JspException

setAttribute

public void setAttribute(String attr)
                  throws JspException
Throws:
JspException

setList

public void setList(String l)
             throws JspException
Throws:
JspException

setVar

public void setVar(String v)

setVarHeaders

public void setVarHeaders(String hdr)


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.