Class WhileTag
java.lang.Object
org.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.WhileTag
- All Implemented Interfaces:
Tag
A tag which performs an iteration while the result of an expression is true.
- Version:
- $Revision: 155420 $
- Author:
- Eric Alexander, dIon Gillard
-
Field Summary
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTag interfacevoidSetter for the expressionMethods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
-
Constructor Details
-
WhileTag
public WhileTag()Create a new while tag
-
-
Method Details
-
doTag
Tag interface- Parameters:
output- destination for xml output- Throws:
MissingAttributeException- when the test attribute is missingJellyTagException- for anything else
-
setTest
Setter for the expression- Parameters:
e- the expression to test
-