Package de.neuland.jade4j.parser.node
Class ConditionalNode
java.lang.Object
de.neuland.jade4j.parser.node.Node
de.neuland.jade4j.parser.node.ConditionalNode
- All Implemented Interfaces:
Cloneable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancheckCondition(JadeModel model, String condition, ExpressionHandler expressionHandler) clone()voidexecute(IndentWriter writer, JadeModel model, JadeTemplate template) voidsetConditions(List<IfConditionNode> conditions) Methods inherited from class de.neuland.jade4j.parser.node.Node
getBlock, getFileName, getLineNumber, getName, getNodes, getValue, hasBlock, hasNodes, pollNode, push, setBlock, setFileName, setLineNumber, setName, setNodes, setValue
-
Field Details
-
conditions
-
-
Constructor Details
-
ConditionalNode
public ConditionalNode()
-
-
Method Details
-
execute
public void execute(IndentWriter writer, JadeModel model, JadeTemplate template) throws JadeCompilerException - Specified by:
executein classNode- Throws:
JadeCompilerException
-
checkCondition
private boolean checkCondition(JadeModel model, String condition, ExpressionHandler expressionHandler) throws ExpressionException - Throws:
ExpressionException
-
getConditions
-
setConditions
-
clone
- Overrides:
clonein classNode- Throws:
CloneNotSupportedException
-