public class TagNode extends AttributedNode
attributes, inheritsAttributes, preparedAttributeValues| Constructor and Description |
|---|
TagNode() |
| Modifier and Type | Method and Description |
|---|---|
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) |
addAttribute, addAttributes, clone, getAttribute, getAttributes, mergeInheritedAttributesgetBlock, getFileName, getLineNumber, getName, getNodes, getValue, hasBlock, hasNodes, pollNode, push, setBlock, setFileName, setLineNumber, setName, setNodes, setValuepublic void setTextOnly(boolean textOnly)
public void setTextNode(Node textNode)
public void setCodeNode(Node codeNode)
public boolean isTextOnly()
public Node getTextNode()
public boolean hasTextNode()
public boolean hasCodeNode()
public void execute(IndentWriter writer, JadeModel model, JadeTemplate template) throws JadeCompilerException
execute in class NodeJadeCompilerExceptionpublic boolean isTerse(JadeTemplate template)
public boolean isSelfClosing(JadeTemplate template)
public void setSelfClosing(boolean selfClosing)
public boolean isSelfClosing()
Copyright © 2015. All rights reserved.