JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.html

Class DomCDataSection

    • Constructor Detail

      • DomCDataSection

        public DomCDataSection(SgmlPage page,
         String data)
        Creates a new instance.
        Parameters:
        page - the Page that contains this element
        data - the string data held by this node
    • Method Detail

      • printXml

        protected boolean printXml(String indent,
         boolean tagBefore,
         PrintWriter printWriter)
        Recursively writes the XML data for the node tree starting at node.
        Overrides:
        printXml in class DomText
        Parameters:
        indent - white space to indent child nodes
        tagBefore - true if the last thing printed was a tag
        printWriter - writer where child nodes are written
        Returns:
        true if the last thing printed was a tag
      • createSplitTextNode

        protected DomText createSplitTextNode(int offset)
        Creates a new text node split from another text node. This method allows the derived type of the new text node to match the original node type.
        Overrides:
        createSplitTextNode in class DomText
        Parameters:
        offset - the character position at which to split the DomText node
        Returns:
        the newly created Text node
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /