org.thymeleaf.dom
Class AbstractTextNode
Object
org.thymeleaf.dom.Node
org.thymeleaf.dom.AbstractTextNode
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CDATASection, Text
public abstract class AbstractTextNode
- extends Node
Base abstract class for text-based node types in Thymeleaf DOM trees:
Text
s and CDATASection
s.
- Since:
- 2.0.0
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
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. |
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, visit |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getContent
public String getContent()
Returns the textual content of this node, as a String.
- Returns:
- the textual content of this node.
setContent
public void setContent(String content)
Modify the textual content of this node.
- Parameters:
content
- the new content
Copyright © 2013 The THYMELEAF team. All Rights Reserved.