code: @Override
      public NodeList getChildNodes() {
          return new NodeList() {
              public int getLength() {
                  return tree.elemNodeNumChildren[tree.nodeRepID[node]];
              }
  
              public Node item(int index) {
                  return (index < getLength()) ? tree
                      .node(tree.elemNodeChildNodeRepID[tree.nodeRepID[node]]
                          + index) : null;
              }
          };
      }
docs: {@inheritDoc}