Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jsp2.examples.simpletag
Class RepeatSimpleTag  view RepeatSimpleTag download RepeatSimpleTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.SimpleTagSupport
      extended byjsp2.examples.simpletag.RepeatSimpleTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class RepeatSimpleTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

SimpleTag handler that accepts a num attribute and invokes its body 'num' times.


Field Summary
private  int num
           
 
Fields inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
 
Constructor Summary
RepeatSimpleTag()
           
 
Method Summary
 void doTag()
          Default processing of the tag does nothing.
 void setNum(int num)
           
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num

private int num
Constructor Detail

RepeatSimpleTag

public RepeatSimpleTag()
Method Detail

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Description copied from class: javax.servlet.jsp.tagext.SimpleTagSupport
Default processing of the tag does nothing.


setNum

public void setNum(int num)