| |
|
| java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.core.BreakTag
BreakTag | public class BreakTag extends TagSupport (Code) | | A tag which terminates the execution of the current <forEach> or ≶while>
loop. This tag can take an optional boolean test attribute which if its true
then the break occurs otherwise the loop continues processing.
author: James Strachan version: $Revision: 155420 $ |
BreakTag | public BreakTag()(Code) | | |
setTest | public void setTest(Expression test)(Code) | | Sets the Jelly expression to evaluate (optional).
If this is null or evaluates to
true then the loop is terminated
Parameters: test - the Jelly expression to evaluate |
setVar | public void setVar(String var)(Code) | | Sets the variable name to export indicating if the item was broken
Parameters: var - name of the variable to be exported |
|
|
|