org.thymeleaf.dom
Class CDATASection

Object
  extended by org.thymeleaf.dom.Node
      extended by org.thymeleaf.dom.AbstractTextNode
          extended by org.thymeleaf.dom.CDATASection
All Implemented Interfaces:
java.io.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

Field Summary
 
Fields inherited from class org.thymeleaf.dom.Node
NODE_PROPERTY_XML_ENCODING, NODE_PROPERTY_XML_STANDALONE, NODE_PROPERTY_XML_VERSION
 
Constructor Summary
CDATASection(char[] content)
           
CDATASection(char[] content, boolean escapeXml)
           
CDATASection(char[] content, boolean escapeXml, String documentName)
           
CDATASection(char[] content, boolean escapeXml, String documentName, Integer lineNumber)
           
CDATASection(String content)
           
CDATASection(String content, boolean escapeXml)
           
CDATASection(String content, boolean escapeXml, String documentName)
           
CDATASection(String content, boolean escapeXml, String documentName, Integer lineNumber)
           
 
Method Summary
 void visit(DOMVisitor visitor)
           Apply a DOM visitor.
 
Methods inherited from class org.thymeleaf.dom.AbstractTextNode
getContent, setContent, unsafeGetContentCharArray, unsafeSetContent
 
Methods inherited from class org.thymeleaf.dom.Node
applyDialectPrefix, cloneNode, getDocumentName, getLineNumber, getNodeLocalVariableNames, getNodeProperty, getNodePropertyNames, getParent, getRecomputeProcessorsAfterEachExecution, getRecomputeProcessorsImmediately, hasNodeLocalVariables, hasNodeProperty, hasParent, isSkippable, normalizeName, setAllNodeLocalVariables, setNodeLocalVariable, setNodeProperty, setParent, setRecomputeProcessorsAfterEachExecution, setRecomputeProcessorsImmediately, setSkippable, unsafeGetNodeLocalVariables, unsafeGetNodeProperties
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDATASection

public CDATASection(String content)

CDATASection

public CDATASection(char[] content)

CDATASection

public CDATASection(String content,
                    boolean escapeXml)

CDATASection

public CDATASection(char[] content,
                    boolean escapeXml)

CDATASection

public CDATASection(String content,
                    boolean escapeXml,
                    String documentName)

CDATASection

public CDATASection(char[] content,
                    boolean escapeXml,
                    String documentName)

CDATASection

public CDATASection(String content,
                    boolean escapeXml,
                    String documentName,
                    Integer lineNumber)

CDATASection

public CDATASection(char[] content,
                    boolean escapeXml,
                    String documentName,
                    Integer lineNumber)
Method Detail

visit

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