The main reason for this is that the method getTextContent()is a W3C DOM Level 3 method; see the changes section of the core DOM level 3 specification.
The Node interface has two new attributes: Node.baseURI and Node.textContent ....
and getTextContent()is the getter for the new attribute.
(Presumably, older versions of Android do not implement a level 3 API.)
getTextContent() ; . textContext. , Node () , node.getTextContext() node.getFirstChild().getNodeValue().