Package de.neuland.jade4j.parser.node
Class TagNode
java.lang.Object
de.neuland.jade4j.parser.node.Node
de.neuland.jade4j.parser.node.AttrsNode
de.neuland.jade4j.parser.node.TagNode
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsFields inherited from class de.neuland.jade4j.parser.node.AttrsNode
attributeBlocks, attributeNames, attributes, codeNode, selfClosing -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringbufferName(JadeTemplate template, JadeModel model) booleanprivate booleaneveryIsInline(LinkedList<Node> nodes) voidexecute(IndentWriter writer, JadeModel model, JadeTemplate template) booleanbooleanisBuffer()private booleanisEmpty()booleanisInline()private booleanvoidsetBuffer(boolean buffer) voidsetTextNode(Node textNode) Methods inherited from class de.neuland.jade4j.parser.node.AttrsNode
addAttributes, attrs, clone, getAttribute, getCodeNode, hasCodeNode, isSelfClosing, isSelfClosing, isTerse, isTextOnly, setAttribute, setCodeNode, setSelfClosing, setTextOnly, visitAttributesMethods 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
-
textNode
-
inlineTags
-
buffer
private boolean buffer
-
-
Constructor Details
-
TagNode
public TagNode()
-
-
Method Details
-
setTextNode
-
getTextNode
-
hasTextNode
public boolean hasTextNode() -
isInline
public boolean isInline() -
isInline
-
everyIsInline
-
canInline
public boolean canInline() -
execute
public void execute(IndentWriter writer, JadeModel model, JadeTemplate template) throws JadeCompilerException - Specified by:
executein classNode- Throws:
JadeCompilerException
-
isEmpty
private boolean isEmpty() -
bufferName
-
isBuffer
public boolean isBuffer() -
setBuffer
public void setBuffer(boolean buffer)
-