| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<String> |
attributeBlocks |
protected List<String> |
attributeNames |
protected LinkedList<Attr> |
attributes |
protected Node |
codeNode |
protected boolean |
selfClosing |
| Constructor and Description |
|---|
AttrsNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(String src) |
protected LinkedHashMap<String,String> |
attrs(JadeModel model,
JadeTemplate template,
LinkedList<Attr> attrs) |
AttrsNode |
clone() |
String |
getAttribute(String key) |
Node |
getCodeNode() |
boolean |
hasCodeNode() |
boolean |
isSelfClosing() |
boolean |
isSelfClosing(JadeTemplate template) |
boolean |
isTerse(JadeTemplate template) |
boolean |
isTextOnly() |
void |
setAttribute(String key,
Object value,
boolean escaped) |
void |
setCodeNode(Node codeNode) |
void |
setSelfClosing(boolean selfClosing) |
void |
setTextOnly(boolean textOnly) |
protected String |
visitAttributes(JadeModel model,
JadeTemplate template) |
execute, getBlock, getFileName, getLineNumber, getName, getNodes, getValue, hasBlock, hasNodes, pollNode, push, setBlock, setFileName, setLineNumber, setName, setNodes, setValueprotected LinkedList<Attr> attributes
protected LinkedList<String> attributeBlocks
protected boolean selfClosing
protected Node codeNode
public AttrsNode clone() throws CloneNotSupportedException
clone in class NodeCloneNotSupportedExceptionpublic void addAttributes(String src)
public void setSelfClosing(boolean selfClosing)
public boolean isSelfClosing()
public void setTextOnly(boolean textOnly)
public boolean isTextOnly()
public void setCodeNode(Node codeNode)
public Node getCodeNode()
public boolean hasCodeNode()
protected String visitAttributes(JadeModel model, JadeTemplate template)
protected LinkedHashMap<String,String> attrs(JadeModel model, JadeTemplate template, LinkedList<Attr> attrs)
public boolean isTerse(JadeTemplate template)
public boolean isSelfClosing(JadeTemplate template)
Copyright © 2016. All rights reserved.