Returns an array containing all the child elements. @webref xml:method @brief Returns an array containing all child elements
()
| 424 | * @brief Returns an array containing all child elements |
| 425 | */ |
| 426 | public XML[] getChildren() { |
| 427 | // NodeList children = node.getChildNodes(); |
| 428 | // int childCount = children.getLength(); |
| 429 | // XMLElement[] kids = new XMLElement[childCount]; |
| 430 | // for (int i = 0; i < childCount; i++) { |
| 431 | // Node kid = children.item(i); |
| 432 | // kids[i] = new XMLElement(this, kid); |
| 433 | // } |
| 434 | // return kids; |
| 435 | checkChildren(); |
| 436 | return children; |
| 437 | } |
| 438 | |
| 439 | |
| 440 | /** |
no test coverage detected