Package de.neuland.pug4j.parser.node
Class TagNode
- java.lang.Object
-
- de.neuland.pug4j.parser.node.Node
-
- de.neuland.pug4j.parser.node.AttrsNode
-
- de.neuland.pug4j.parser.node.TagNode
-
-
Field Summary
-
Fields inherited from class de.neuland.pug4j.parser.node.AttrsNode
attributeBlocks, attributeNames, attributes, codeNode, selfClosing
-
-
Constructor Summary
Constructors Constructor Description TagNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanInline()voidexecute(IndentWriter writer, PugModel model, PugTemplate template)NodegetTextNode()booleanhasTextNode()booleanisBuffer()booleanisInline()booleanisWhitespaceSensitive()voidsetBuffer(boolean buffer)voidsetTextNode(Node textNode)-
Methods inherited from class de.neuland.pug4j.parser.node.AttrsNode
addAttributes, attrs, clone, getAttribute, getAttributes, getCodeNode, hasCodeNode, isSelfClosing, isSelfClosingTag, isTextOnly, setAttribute, setCodeNode, setSelfClosing, setTextOnly, visitAttributes
-
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
-
setTextNode
public void setTextNode(Node textNode)
-
getTextNode
public Node getTextNode()
-
hasTextNode
public boolean hasTextNode()
-
isInline
public boolean isInline()
-
isWhitespaceSensitive
public boolean isWhitespaceSensitive()
-
canInline
public boolean canInline()
-
execute
public void execute(IndentWriter writer, PugModel model, PugTemplate template) throws PugCompilerException
- Specified by:
executein classNode- Throws:
PugCompilerException
-
isBuffer
public boolean isBuffer()
-
setBuffer
public void setBuffer(boolean buffer)
-
-