MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / getText

Method getText

src/org/kxml2/kdom/Node.java:174–176  ·  view source on GitHub ↗

Returns the text node with the given index or null if the node with the given index is not a text node.

(int index)

Source from the content-addressed store, hash-verified

172 with the given index is not a text node. */
173
174 public String getText(int index) {
175 return (isText(index)) ? (String) getChild(index) : null;
176 }
177
178 /** Returns the type of the child at the given index. Possible
179 types are ELEMENT, TEXT, COMMENT, and PROCESSING_INSTRUCTION */

Callers 1

parseMethod · 0.45

Calls 2

isTextMethod · 0.95
getChildMethod · 0.95

Tested by

no test coverage detected