de.neuland.jade4j.parser.node
Class TagNode

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

public class TagNode
extends AttributedNode


Field Summary
 
Fields inherited from class de.neuland.jade4j.parser.node.AttributedNode
attributes, inheritsAttributes, preparedAttributeValues
 
Fields inherited from class de.neuland.jade4j.parser.node.Node
block, fileName, lineNumber, name, nodes, value
 
Constructor Summary
TagNode()
           
 
Method Summary
 void execute(IndentWriter writer, JadeModel model, JadeTemplate template)
           
 Node getTextNode()
           
 boolean hasCodeNode()
           
 boolean hasTextNode()
           
 boolean isSelfClosing()
           
 boolean isSelfClosing(JadeTemplate template)
           
 boolean isTerse(JadeTemplate template)
           
 boolean isTextOnly()
           
 void setCodeNode(Node codeNode)
           
 void setSelfClosing(boolean selfClosing)
           
 void setTextNode(Node textNode)
           
 void setTextOnly(boolean textOnly)
           
 
Methods inherited from class de.neuland.jade4j.parser.node.AttributedNode
addAttribute, addAttributes, clone, getAttribute, getAttributes, mergeInheritedAttributes
 
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

TagNode

public TagNode()
Method Detail

setTextOnly

public void setTextOnly(boolean textOnly)

setTextNode

public void setTextNode(Node textNode)

setCodeNode

public void setCodeNode(Node codeNode)

isTextOnly

public boolean isTextOnly()

getTextNode

public Node getTextNode()

hasTextNode

public boolean hasTextNode()

hasCodeNode

public boolean hasCodeNode()

execute

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

isTerse

public boolean isTerse(JadeTemplate template)

isSelfClosing

public boolean isSelfClosing(JadeTemplate template)

setSelfClosing

public void setSelfClosing(boolean selfClosing)

isSelfClosing

public boolean isSelfClosing()


Copyright © 2013. All rights reserved.