net.ontopia.topicmaps.nav2.taglibs.output
Class CountTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
          extended by net.ontopia.topicmaps.nav2.taglibs.output.CountTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, OutputProducingTagIF

public class CountTag
extends BaseOutputProducingTag

INTERNAL: Output-Producing Tag, which writes out the number of objects in a collection.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
contextTag, escapeEntities, numberOfElements, suppressEmptyCollection, variableName
 
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
 void generateOutput(javax.servlet.jsp.JspWriter out, Iterator iter)
          INTERNAL: Generate information extracted from the input collection provided access by specified iterator.
 
Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
doEndTag, doStartTag, getCollectionSize, print2Writer, release, setEscapeEntities, setOf, setSuppressEmptyCollection
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, 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

generateOutput

public final void generateOutput(javax.servlet.jsp.JspWriter out,
                                 Iterator iter)
                          throws javax.servlet.jsp.JspTagException,
                                 IOException
Description copied from interface: OutputProducingTagIF
INTERNAL: Generate information extracted from the input collection provided access by specified iterator. This is expected to be written to the JspWriter object.

Specified by:
generateOutput in interface OutputProducingTagIF
Specified by:
generateOutput in class BaseOutputProducingTag
Throws:
javax.servlet.jsp.JspTagException
IOException


Copyright © 2000-2012 Ontopia.