code: private ScheduleTaskImpl[] readInAllTasks() throws PageException {
  	Element root = doc.getDocumentElement();
  	NodeList children = root.getChildNodes();
  	ArrayList<ScheduleTaskImpl> list = new ArrayList<ScheduleTaskImpl>();
  
  	int len = children.getLength();
  	for (int i = 0; i < len; i++) {
  	    Node n = children.item(i);
  	    if (n instanceof Element && n.getNodeName().equals("task")) {
  		list.add(readInTask((Element) n));
  	    }
  	}
  	return list.toArray(new ScheduleTaskImpl[list.size()]);
      }
docs: read in all schedule tasks
  
  @return all schedule tasks
  @throws PageException