org.thymeleaf.dom
Class Text
Object
org.thymeleaf.dom.Node
org.thymeleaf.dom.AbstractTextNode
org.thymeleaf.dom.Text
- All Implemented Interfaces:
- Serializable
public final class Text
- extends AbstractTextNode
A Text node in a Thymeleaf DOM tree.
When building an instance of this class, setting the escapeXml flag to true
will apply an escaping operation to the specified contents by means of calling
DOMUtils.escapeXml(char[], boolean)
.
- Since:
- 2.0.0
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
Methods inherited from class org.thymeleaf.dom.Node |
addAllNonExistingNodeLocalVariables, applyDialectPrefix, cloneNode, getDocumentName, getLineNumber, getNodeLocalVariableNames, getNodeProperty, getNodePropertyNames, getParent, getProcessCommentNodes, getProcessTextNodes, getRecomputeProcessorsAfterEachExecution, getRecomputeProcessorsImmediately, hasNodeLocalVariables, hasNodeProperty, hasParent, isProcessable, isSkippable, normalizeName, setAllNodeLocalVariables, setNodeLocalVariable, setNodeProperty, setParent, setProcessable, setProcessCommentNodes, setProcessTextNodes, setRecomputeProcessorsAfterEachExecution, setRecomputeProcessorsImmediately, setSkippable, unsafeGetNodeProperties |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Text
public Text(String content)
Text
public Text(String content,
boolean escapeXml)
Text
public Text(String content,
boolean escapeXml,
String documentName)
Text
public Text(String content,
boolean escapeXml,
String documentName,
Integer lineNumber)
visit
public void visit(DOMVisitor visitor)
- Description copied from class:
Node
Apply a DOM visitor.
- Specified by:
visit
in class Node
- Parameters:
visitor
- the visitor to be executed for this node.
Copyright © 2013 The THYMELEAF team. All Rights Reserved.