Class AbstractText

    • Constructor Detail

      • AbstractText

        public AbstractText()
    • Method Detail

      • splitText

        public org.w3c.dom.Text splitText​(int offset)
                                   throws org.w3c.dom.DOMException
        DOM: Implements Text.splitText(int).
        Specified by:
        splitText in interface org.w3c.dom.Text
        Throws:
        org.w3c.dom.DOMException
      • getPreviousLogicallyAdjacentTextNode

        protected org.w3c.dom.Node getPreviousLogicallyAdjacentTextNode​(org.w3c.dom.Node n)
      • getNextLogicallyAdjacentTextNode

        protected org.w3c.dom.Node getNextLogicallyAdjacentTextNode​(org.w3c.dom.Node n)
      • getWholeText

        public java.lang.String getWholeText()
        DOM: Implements Text.getWholeText().
        Specified by:
        getWholeText in interface org.w3c.dom.Text
      • isElementContentWhitespace

        public boolean isElementContentWhitespace()
        DOM: Implements Text.isElementContentWhitespace().
        Specified by:
        isElementContentWhitespace in interface org.w3c.dom.Text
      • replaceWholeText

        public org.w3c.dom.Text replaceWholeText​(java.lang.String s)
                                          throws org.w3c.dom.DOMException
        DOM: Implements Text.replaceWholeText(String).
        Specified by:
        replaceWholeText in interface org.w3c.dom.Text
        Throws:
        org.w3c.dom.DOMException
      • getTextContent

        public java.lang.String getTextContent()
        DOM: Implements Node.getTextContent().
        Specified by:
        getTextContent in interface org.w3c.dom.Node
        Overrides:
        getTextContent in class AbstractNode
      • createTextNode

        protected abstract org.w3c.dom.Text createTextNode​(java.lang.String text)
        Creates a text node of the current type.