Class XMLText

  • All Implemented Interfaces:
    java.lang.Cloneable, org.w3c.dom.CharacterData, org.w3c.dom.Node, org.w3c.dom.Text
    Direct Known Subclasses:
    XMLCDATASection

    public class XMLText
    extends XMLCharacterData
    implements org.w3c.dom.Text
    • Constructor Detail

      • XMLText

        public XMLText()
      • XMLText

        public XMLText​(java.lang.String value)
    • Method Detail

      • getNodeType

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

        public java.lang.String getTextContent()
                                        throws org.w3c.dom.DOMException
        Specified by:
        getTextContent in interface org.w3c.dom.Node
        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
      • isElementContentWhitespace

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

        public java.lang.String getWholeText()
        Specified by:
        getWholeText 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