code: public SimpleNode getFirstChildWithId(final int id) {
          if (children != null) {
              for (int i = 0; i < children.length; ++i) {
                  if (children[i].getID() == id) {
                      return children[i];
                  }
              }
          }
          return null;
      }
docs: /*
  public Object childrenFilteredAccept(final XParserVisitor visitor, final int filterID, final
  org.w3c.dom.Node data) { org.w3c.dom.Node result = data; if (children != null) { for (int i =
  0; i < children.length; ++i) { if (children[i].getID() == filterID) { result =
  (org.w3c.dom.Node) children[i].jjtAccept(visitor, result); } } } return result; }