net.sf.jelly.apt.tags
Class DeclarationLoopTag<S extends DeclarationLoopStrategy>

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jelly.apt.APTJellyTag<S>
          extended by net.sf.jelly.apt.tags.DeclarationLoopTag<S>
All Implemented Interfaces:
TemplateBlock, org.apache.commons.jelly.Tag
Direct Known Subclasses:
AnnotationFilterableDeclarationLoopTag

public abstract class DeclarationLoopTag<S extends DeclarationLoopStrategy>
extends APTJellyTag<S>

A tag that is the loop over a set of declarations.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.APTJellyTag
strategy
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
protected DeclarationLoopTag(S strategy)
           
 
Method Summary
 void setIndexVar(java.lang.String indexVar)
          Variable in which to store the value of the index.
 void setVar(java.lang.String var)
          The context variable in which to store the declaration.
 
Methods inherited from class net.sf.jelly.apt.APTJellyTag
doTag, getContext, getStrategy
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclarationLoopTag

protected DeclarationLoopTag(S strategy)
Method Detail

setVar

public void setVar(java.lang.String var)
The context variable in which to store the declaration.

Parameters:
var - The context variable in which to store the declaration.

setIndexVar

public void setIndexVar(java.lang.String indexVar)
Variable in which to store the value of the index.

Parameters:
indexVar - Variable in which to store the value of the index.