Order the Book

coreservlets.tags
Class RepeatTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--coreservlets.tags.RepeatTag

public class RepeatTag
extends BodyTagSupport

A tag that repeats the body the specified number of times.

Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.

See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
RepeatTag()
           
 
Method Summary
 int doAfterBody()
           
 void setReps(String repeats)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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

RepeatTag

public RepeatTag()
Method Detail

setReps

public void setReps(String repeats)

doAfterBody

public int doAfterBody()
Overrides:
doAfterBody in class BodyTagSupport

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive