collection = new ArrayList();
collection.clear();
  public void  reset() {     collection = new ArrayList();     doc = new TXDocument();     doc.setVersion("1.0");     root = doc.createElement("LogPlan");     doc.appendChild(root);     // define these, which we'll use to create the XML     // for the "base" of the plan object     try {       xmlPlanObjectClass = XMLizable.class;       xmlUIPlanObjectClass = XMLUIPlanObject.class;     } catch (RuntimeException e) {       System.out.println("Exception getting class for plan object: " + e);     }  }