Interface ICDATASection

  • All Superinterfaces:
    CharSequence, ITemplateEvent

    public interface ICDATASection
    extends ITemplateEvent, CharSequence

    Event interface defining a CDATA Section.

    Note that any implementations of this interface should be immutable.

    Since:
    3.0.0
    Author:
    Daniel Fernández
    • Method Detail

      • getCDATASection

        String getCDATASection()

        Returns the whole CDATA Section, including the <![CDATA[...]]> prefix and suffix.

        Returns:
        the CDATA Section.
      • getContent

        String getContent()

        Returns the content of the CDATA Section, without the prefix or suffix.

        Returns:
        the content of the CDATA Section.