예제 #1
0
  public boolean FindElem(String szName) {

    boolean result = false;
    NodeModel node = pointer.GetNext();
    while (node != null) {
      if (node.GetTagName().equalsIgnoreCase(szName)) {
        result = true;
        pointer = node;
        break;
      }
      node = node.GetNext();
    }
    return result;
  }
예제 #2
0
  public boolean FindElem() {
    boolean result = false;
    if (pointer == null) return result;

    NodeModel node = pointer.GetNext();
    if (node != null) {
      result = true;
      pointer = node;
    }
    return result;
  }