com.ora.jsp.tags.xmp
Class ClassicSimpleLoopTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.ora.jsp.tags.xmp.ClassicSimpleLoopTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ClassicSimpleLoopTag
extends javax.servlet.jsp.tagext.TagSupport

See Also:
Serialized Form

Field Summary
private  java.util.Collection items
           
private  java.util.Iterator iterator
           
private  java.lang.String var
           
 
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
ClassicSimpleLoopTag()
           
 
Method Summary
 int doAfterBody()
          Makes the next element available to the body in a variable with the name specified by the loopId attribute, or returns SKIP_BODY if all elements have been processed.
 int doStartTag()
           
 void release()
          Releases all instance variables.
 void setItems(java.util.Collection items)
           
 void setVar(java.lang.String var)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doEndTag, 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
 

Field Detail

iterator

private java.util.Iterator iterator

items

private java.util.Collection items

var

private java.lang.String var
Constructor Detail

ClassicSimpleLoopTag

public ClassicSimpleLoopTag()
Method Detail

setItems

public void setItems(java.util.Collection items)

setVar

public void setVar(java.lang.String var)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Makes the next element available to the body in a variable with the name specified by the loopId attribute, or returns SKIP_BODY if all elements have been processed.

Throws:
javax.servlet.jsp.JspException

release

public void release()
Releases all instance variables.