MCPcopy Index your code
hub / github.com/benfry/processing4 / getChildren

Method getChildren

core/src/processing/data/XML.java:438–449  ·  view source on GitHub ↗

Returns all of the element's children as an array of XML objects. When the name parameter is specified, then it will return all children that match that name or path. The path is a series of elements and sub-elements, separated by slashes. @webref xml:method @webBrief Returns an array

()

Source from the content-addressed store, hash-verified

436 * @webBrief Returns an array containing all child elements
437 */
438 public XML[] getChildren() {
439// NodeList children = node.getChildNodes();
440// int childCount = children.getLength();
441// XMLElement[] kids = new XMLElement[childCount];
442// for (int i = 0; i < childCount; i++) {
443// Node kid = children.item(i);
444// kids[i] = new XMLElement(this, kid);
445// }
446// return kids;
447 checkChildren();
448 return children;
449 }
450
451
452 /**

Callers 4

getChildrenRecursiveMethod · 0.95
odsParseMethod · 0.95
odsParseSheetMethod · 0.95
testDecimalsMethod · 0.45

Calls 9

checkChildrenMethod · 0.95
getChildrenRecursiveMethod · 0.95
splitMethod · 0.95
getChildMethod · 0.95
getChildCountMethod · 0.95
getNameMethod · 0.95
subsetMethod · 0.95
parseIntMethod · 0.80
equalsMethod · 0.45

Tested by 1

testDecimalsMethod · 0.36