|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.WhileTag
public class WhileTag
A tag which performs an iteration while the result of an expression is true.
Field Summary | |
---|---|
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private Expression |
test
The expression to use to determine if the while should continue |
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
WhileTag()
Create a new while tag |
Method Summary | |
---|---|
void |
doTag(XMLOutput output)
Tag interface |
void |
setTest(Expression e)
Setter for the expression |
Methods 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private Expression test
Constructor Detail |
---|
public WhileTag()
Method Detail |
---|
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
output
- destination for xml output
MissingAttributeException
- when the test attribute is missing
java.lang.Exception
- for anything else
JellyTagException
public void setTest(Expression e)
e
- the expression to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |