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

Method getElement

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

returns the element at the given index. If the node at the given index is a text node, null is returned

(int index)

Source from the content-addressed store, hash-verified

107 given index is a text node, null is returned */
108
109 public Element getElement(int index) {
110 Object child = getChild(index);
111 return (child instanceof Element) ? (Element) child : null;
112 }
113
114 /** Returns the element with the given namespace and name. If the
115 element is not found, or more than one matching elements are

Callers 1

indexOfMethod · 0.95

Calls 2

getChildMethod · 0.95
indexOfMethod · 0.95

Tested by

no test coverage detected