org.thymeleaf.dom
Class CDATASection
Object
org.thymeleaf.dom.Node
org.thymeleaf.dom.AbstractTextNode
org.thymeleaf.dom.CDATASection
- All Implemented Interfaces:
- Serializable
public final class CDATASection
- extends AbstractTextNode
A CDATA Section 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 |
CDATASection
public CDATASection(String content)
CDATASection
public CDATASection(String content,
boolean escapeXml)
CDATASection
public CDATASection(String content,
boolean escapeXml,
String documentName)
CDATASection
public CDATASection(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.