Package org.thymeleaf.model
Interface ICDATASection
-
- All Superinterfaces:
java.lang.CharSequence,ITemplateEvent
- All Known Implementing Classes:
CDATASection
public interface ICDATASection extends ITemplateEvent, java.lang.CharSequence
Event interface defining a CDATA Section.
Note that any implementations of this interface should be immutable.
- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCDATASection()Returns the whole CDATA Section, including the<![CDATA[...]]>prefix and suffix.java.lang.StringgetContent()Returns the content of the CDATA Section, without the prefix or suffix.-
Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence, toString
-
Methods inherited from interface org.thymeleaf.model.ITemplateEvent
accept, getCol, getLine, getTemplateName, hasLocation, write
-
-
-
-
Method Detail
-
getCDATASection
java.lang.String getCDATASection()
Returns the whole CDATA Section, including the
<![CDATA[...]]>prefix and suffix.- Returns:
- the CDATA Section.
-
getContent
java.lang.String getContent()
Returns the content of the CDATA Section, without the prefix or suffix.
- Returns:
- the content of the CDATA Section.
-
-