org.thymeleaf.dom
Class Text

Object
  extended by org.thymeleaf.dom.Node
      extended by org.thymeleaf.dom.AbstractTextNode
          extended by org.thymeleaf.dom.Text
All Implemented Interfaces:
Serializable

public final class Text
extends AbstractTextNode

A Text node in a Thymeleaf DOM tree.

Since:
2.0.0
Author:
Daniel Fernández
See Also:
Serialized Form

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
Text(String content)
           
Text(String content, boolean escapeXml)
          Deprecated. Deprecated in 2.1.3. Will be removed in 3.0. Text and CDATA nodes do not perform XML-escaping anymore.
Text(String content, boolean escapeXml, String documentName)
          Deprecated. Deprecated in 2.1.3. Will be removed in 3.0. Text and CDATA nodes do not perform XML-escaping anymore.
Text(String content, boolean escapeXml, String documentName, Integer lineNumber)
          Deprecated. Deprecated in 2.1.3. Will be removed in 3.0. Text and CDATA nodes do not perform XML-escaping anymore.
Text(String content, String documentName)
           
Text(String content, String documentName, Integer lineNumber)
           
Text(String content, String documentName, Integer lineNumber, boolean contentIsEscaped)
           
 
Method Summary
 void visit(DOMVisitor visitor)
           Apply a DOM visitor.
 
Methods inherited from class org.thymeleaf.dom.AbstractTextNode
getContent, getEscapedContent, getOriginalContent, setContent, setContent
 
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
 

Constructor Detail

Text

public Text(String content)

Text

public Text(String content,
            String documentName)
Since:
2.1.3

Text

public Text(String content,
            String documentName,
            Integer lineNumber)
Since:
2.1.3

Text

public Text(String content,
            String documentName,
            Integer lineNumber,
            boolean contentIsEscaped)
Since:
2.1.3

Text

@Deprecated
public Text(String content,
                       boolean escapeXml)
Deprecated. Deprecated in 2.1.3. Will be removed in 3.0. Text and CDATA nodes do not perform XML-escaping anymore.


Text

@Deprecated
public Text(String content,
                       boolean escapeXml,
                       String documentName)
Deprecated. Deprecated in 2.1.3. Will be removed in 3.0. Text and CDATA nodes do not perform XML-escaping anymore.


Text

@Deprecated
public Text(String content,
                       boolean escapeXml,
                       String documentName,
                       Integer lineNumber)
Deprecated. Deprecated in 2.1.3. Will be removed in 3.0. Text and CDATA nodes do not perform XML-escaping anymore.

Method Detail

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 © 2014 The THYMELEAF team. All Rights Reserved.