com.aspose.html.dom

Class CDATASection

    • Constructor Detail

      • CDATASection

        public CDATASection(String data,
                            Document doc)

        Initializes a new instance of the CDATASection class.

        Parameters:
        data - The character data.
        doc - The document.
    • Method Detail

      • getNodeName

        public String getNodeName()

        The name of this node, depending on its type.

        Value: The name of the node.
        Overrides:
        getNodeName in class Text
      • getNodeType

        public int getNodeType()

        A code representing the type of the underlying object.

        Value: The type of the node.
        Overrides:
        getNodeType in class Text
      • cloneNode

        public Node cloneNode(boolean deep)

        Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. The duplicate node has no parent (parentNode is null) and no user data.

        Overrides:
        cloneNode in class Text
        Parameters:
        deep - if set to true [deep].
        Returns:
        Returns node