Class TextImpl

    • Constructor Detail

      • TextImpl

        public TextImpl()
      • TextImpl

        public TextImpl​(java.lang.String text)
    • Method Detail

      • isElementContentWhitespace

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

        public org.w3c.dom.Text replaceWholeText​(java.lang.String content)
                                          throws org.w3c.dom.DOMException
        Specified by:
        replaceWholeText in interface org.w3c.dom.Text
        Throws:
        org.w3c.dom.DOMException
      • splitText

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

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

        public java.lang.String getLocalName()
        Specified by:
        getLocalName in interface org.w3c.dom.Node
        Specified by:
        getLocalName in class NodeImpl
      • getNodeName

        public java.lang.String getNodeName()
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Specified by:
        getNodeName in class NodeImpl
      • getNodeType

        public short getNodeType()
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Specified by:
        getNodeType in class NodeImpl
      • getNodeValue

        public java.lang.String getNodeValue()
                                      throws org.w3c.dom.DOMException
        Specified by:
        getNodeValue in interface org.w3c.dom.Node
        Specified by:
        getNodeValue in class NodeImpl
        Throws:
        org.w3c.dom.DOMException
      • setNodeValue

        public void setNodeValue​(java.lang.String nodeValue)
                          throws org.w3c.dom.DOMException
        Specified by:
        setNodeValue in interface org.w3c.dom.Node
        Specified by:
        setNodeValue in class NodeImpl
        Throws:
        org.w3c.dom.DOMException
      • setTextContent

        public void setTextContent​(java.lang.String textContent)
                            throws org.w3c.dom.DOMException
        Specified by:
        setTextContent in interface org.w3c.dom.Node
        Overrides:
        setTextContent in class CharacterDataImpl
        Throws:
        org.w3c.dom.DOMException
      • createSimilarNode

        protected org.w3c.dom.Node createSimilarNode()
        Description copied from class: NodeImpl
        Should create a node with some cloned properties, like the node name, but not attributes or children.
        Specified by:
        createSimilarNode in class NodeImpl