de.neuland.jade4j.parser.node
Class ConditionalNode

java.lang.Object
  extended by de.neuland.jade4j.parser.node.Node
      extended by de.neuland.jade4j.parser.node.ConditionalNode
All Implemented Interfaces:
Cloneable

public class ConditionalNode
extends Node


Field Summary
 
Fields inherited from class de.neuland.jade4j.parser.node.Node
block, fileName, lineNumber, name, nodes, value
 
Constructor Summary
ConditionalNode()
           
 
Method Summary
 ConditionalNode clone()
           
 void execute(IndentWriter writer, JadeModel model, JadeTemplate template)
           
 List<IfConditionNode> getConditions()
           
 void setConditions(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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalNode

public ConditionalNode()
Method Detail

execute

public void execute(IndentWriter writer,
                    JadeModel model,
                    JadeTemplate template)
             throws JadeCompilerException
Specified by:
execute in class Node
Throws:
JadeCompilerException

getConditions

public List<IfConditionNode> getConditions()

setConditions

public void setConditions(List<IfConditionNode> conditions)

clone

public ConditionalNode clone()
                      throws CloneNotSupportedException
Overrides:
clone in class Node
Throws:
CloneNotSupportedException


Copyright © 2013. All rights reserved.