se.kmr.scam.web.taglib.annotation
Class CountTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byse.kmr.scam.web.taglib.annotation.CountTag
All Implemented Interfaces:
IterationTag, Serializable, Tag

public class CountTag
extends TagSupport

Exposes the number of annotations associated with a subject.

Version:
$Revision: 1.5 $
Author:
Jöran
See Also:
Serialized Form
Created:
den 23 april 2003

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
CountTag()
           
 
Method Summary
 int doStartTag()
          Recives notification of the start of a tag.
 void setSubject(String subject)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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

CountTag

public CountTag()
Method Detail

setSubject

public void setSubject(String subject)

doStartTag

public int doStartTag()
               throws JspException
Recives notification of the start of a tag.

Returns:
the value EVAL_PAGE.
Throws:
JspException


Copyright © 2003 SCAM. All Rights Reserved.