Package de.neuland.pug4j.parser.node
Class CaseNode
- java.lang.Object
-
- de.neuland.pug4j.parser.node.Node
-
- de.neuland.pug4j.parser.node.CaseNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCaseNode.When
-
Constructor Summary
Constructors Constructor Description CaseNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseNodeclone()voidexecute(IndentWriter writer, PugModel model, PugTemplate template)List<CaseConditionNode>getCaseConditionNodes()voidsetConditions(List<CaseConditionNode> caseConditionNodes)-
Methods inherited from class de.neuland.pug4j.parser.node.Node
getBlock, getColumn, getFileName, getLineNumber, getName, getNodes, getValue, hasBlock, hasNodes, isTextNode, pollNode, push, setBlock, setColumn, setFileName, setLineNumber, setName, setNodes, setValue
-
-
-
-
Method Detail
-
execute
public void execute(IndentWriter writer, PugModel model, PugTemplate template) throws PugCompilerException
- Specified by:
executein classNode- Throws:
PugCompilerException
-
setConditions
public void setConditions(List<CaseConditionNode> caseConditionNodes)
-
getCaseConditionNodes
public List<CaseConditionNode> getCaseConditionNodes()
-
clone
public CaseNode clone() throws CloneNotSupportedException
- Overrides:
clonein classNode- Throws:
CloneNotSupportedException
-
-