|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.thymeleaf.dom.Node org.thymeleaf.dom.Macro
public final class Macro
Node containing a piece of markup or text that should not be parsed or interpreted in any way. The content of a macro node should go straight to the template result writer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.thymeleaf.dom.Node |
---|
Node.NodeLocalVariablesMap |
Field Summary |
---|
Fields inherited from class org.thymeleaf.dom.Node |
---|
NODE_PROPERTY_XML_ENCODING, NODE_PROPERTY_XML_STANDALONE, NODE_PROPERTY_XML_VERSION |
Constructor Summary | |
---|---|
Macro(String content)
|
|
Macro(String content,
String documentName)
|
|
Macro(String content,
String documentName,
Integer lineNumber)
|
Method Summary | |
---|---|
String |
getContent()
Returns the textual content of this node, as a String. |
void |
setContent(String content)
Modify the textual content of this node. |
void |
visit(DOMVisitor visitor)
Apply a DOM visitor. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Macro(String content)
public Macro(String content, String documentName)
public Macro(String content, String documentName, Integer lineNumber)
Method Detail |
---|
public String getContent()
Returns the textual content of this node, as a String.
public void setContent(String content)
Modify the textual content of this node.
content
- the new contentpublic void visit(DOMVisitor visitor)
Node
Apply a DOM visitor.
visit
in class Node
visitor
- the visitor to be executed for this node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |