tasks.put (keyValue, stack.pop ()); primaryTasks.add (tasks.get (keyValue));
addTask ((Task) stack.pop());
    public void endElement (String uri, String local, String name) {      if (name.equals ("FIELD")) {        names.pop ();        types.pop ();      }      else if (name.equals ("OBJECT")) {        String nameForInner = (String) names.peek ();        String typeForInner = (String) types.peek ();        Object innerObject  = stack.pop ();        SchObject object    = (SchObject) stack.peek ();        object.addField (nameForInner, typeForInner, innerObject,                         false, false);      }      else if (name.equals ("TASK")) {        tasks.put (keyValue, stack.pop ());        primaryTasks.add (tasks.get (keyValue));      }      else if (name.equals ("RESOURCE")) {        resources.put (keyValue, stack.pop ());      }      else if (name.equals ("VALUE2")) {		String nameForList = (String) names.peek ();		String typeForList = (String) types.peek ();		Object listObject  = stack.pop ();		SchObject object   = (SchObject) stack.peek ();        object.addField (nameForList, typeForList, listObject, 						 false, true);      }    }