public class BreakTag extends TagSupport
body, context, parent
Constructor and Description |
---|
BreakTag() |
Modifier and Type | Method and Description |
---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
setTest(Expression test)
Sets the Jelly expression to evaluate (optional).
|
void |
setVar(String var)
Sets the variable name to export indicating if the item was broken
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public void doTag(XMLOutput output) throws BreakException
Tag
BreakException
public void setTest(Expression test)
null
or evaluates to
true
then the loop is terminatedtest
- the Jelly expression to evaluatepublic void setVar(String var)
var
- name of the variable to be exportedCopyright © 2014 Apache Software Foundation. All rights reserved.