Class GenericCDATASection

  • All Implemented Interfaces:
    java.io.Serializable, NodeEventTarget, ExtendedNode, NodeXBL, XBLManagerData, org.w3c.dom.CDATASection, org.w3c.dom.CharacterData, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.Text

    public class GenericCDATASection
    extends AbstractText
    implements org.w3c.dom.CDATASection
    This class implements the CDATASection interface.
    Version:
    $Id: GenericCDATASection.java 1733416 2016-03-03 07:07:13Z gadams $
    See Also:
    Serialized Form
    • Field Detail

      • readonly

        protected boolean readonly
        Is this element immutable?
    • Constructor Detail

      • GenericCDATASection

        protected GenericCDATASection()
        Creates a new CDATASection object.
      • GenericCDATASection

        public GenericCDATASection​(java.lang.String value,
                                   AbstractDocument owner)
        Creates a new CDATASection object.
    • Method Detail

      • getNodeName

        public java.lang.String getNodeName()
        DOM: Implements Node.getNodeName().
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Returns:
        "#cdata-section".
      • getNodeType

        public short getNodeType()
        DOM: Implements Node.getNodeType().
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Returns:
        Node.CDATA_SECTION_NODE
      • isReadonly

        public boolean isReadonly()
        Tests whether this node is readonly.
        Specified by:
        isReadonly in interface ExtendedNode
      • setReadonly

        public void setReadonly​(boolean v)
        Sets this node readonly attribute.
        Specified by:
        setReadonly in interface ExtendedNode
      • createTextNode

        protected org.w3c.dom.Text createTextNode​(java.lang.String text)
        Creates a text node of the current type.
        Specified by:
        createTextNode in class AbstractText
      • newNode

        protected org.w3c.dom.Node newNode()
        Returns a new uninitialized instance of this object's class.
        Specified by:
        newNode in class AbstractNode