protected void parseStartElement (String name, AttributeList atts) { try {
protected void parseStartElement (String name, Attributes atts) { try {
  protected void parseStartElement (String name, AttributeList atts) {	try {	  if (myExtraExtraOutput || debugParseAnswer)		System.out.println (getName() + ".parseStartElement got " + name);	  	  if (name.equals ("ASSIGNMENT")) {		if (myExtraOutput) {		  System.out.println (getName () + ".parseStartElement -\nAssignment: task = " + atts.getValue ("task") +							  " resource = " + atts.getValue ("resource") +							  " start = " + atts.getValue ("start") +							  " end = " + atts.getValue ("end"));		}		String taskUID     = atts.getValue ("task");		String resourceUID = atts.getValue ("resource");		String startTime   = atts.getValue ("start");		String endTime     = atts.getValue ("end");		String setupTime   = atts.getValue ("setup");		String wrapupTime  = atts.getValue ("wrapup");		Date start         = format.parse (startTime);		Date end           = format.parse (endTime);		Date setup         = format.parse (setupTime);		Date wrapup        = format.parse (wrapupTime);		StringKey taskKey = new StringKey (taskUID);		Task handledTask    = (Task)  myTaskUIDtoObject.get (taskKey);		if (handledTask == null) {		  System.out.println ("VishnuPlugIn - AssignmentHandler.startElement no task found with " + taskUID);		  System.out.println ("\tmap was " + myTaskUIDtoObject);		}		else {		  myTaskUIDtoObject.remove (taskKey);		}		Asset assignedAsset = (Asset) myAssetUIDtoObject.get (new StringKey (resourceUID));		if (assignedAsset == null) 		  System.out.println ("VishnuPlugIn - AssignmentHandler.startElement no asset found with " + resourceUID);			myFrozenTasks.add (handledTask);	  		handleAssignment (handledTask, assignedAsset, start, end, setup, wrapup);	  }	  else if (name.equals ("MULTITASK")) {		if (myExtraOutput || debugParseAnswer) {		  System.out.println (getName () + ".parseStartElement -\nAssignment: " + 							  " resource = " + atts.getValue ("resource") +							  " start = " + atts.getValue ("start") +							  " end = " + atts.getValue ("end") +							  " setup = " + atts.getValue ("setup") +							  " wrapup = " + atts.getValue ("wrapup"));		}		String taskList    = atts.getValue ("tasklist");		String resourceUID = atts.getValue ("resource");		String startTime   = atts.getValue ("start");		String endTime     = atts.getValue ("end");		String setupTime   = atts.getValue ("setup");		String wrapupTime  = atts.getValue ("wrapup");		start     = format.parse (startTime);		end       = format.parse (endTime);		setup     = format.parse (setupTime);		wrapup    = format.parse (wrapupTime);		assignedAsset = (Asset) myAssetUIDtoObject.get (new StringKey (resourceUID));		if (assignedAsset == null) 		  System.out.println (getName () + ".parseStartElement - no asset found with " + resourceUID);	  }	  else if (name.equals ("TASK")) {		if (myExtraOutput || debugParseAnswer) {		  System.out.println (getName () + ".parseStartElement -\nTask: " + 							  " task = " + atts.getValue ("task"));		}		String taskUID = atts.getValue ("task");		StringKey taskKey = new StringKey (taskUID);		Task handledTask = (Task) myTaskUIDtoObject.get (taskKey);		if (handledTask == null) 		  System.out.println (getName () + ".parseStartElement - no task found with " + taskUID + 							  " uid.");		else		  alpTasks.add (handledTask);		// this is absolutely critical, otherwise VishnuPlugIn will make a failed disposition		myTaskUIDtoObject.remove (taskKey);		myFrozenTasks.add (handledTask);	  }	  else if (debugParseAnswer) {		System.out.println (getName () + ".parseStartElement - ignoring tag " + name);	  }	} catch (NullPointerException npe) {	  System.out.println (getName () + ".parseStartElement - got bogus assignment");	  npe.printStackTrace ();	} catch (ParseException pe) {	  System.out.println (getName () + ".parseStartElement - start or end time is in bad format " + 						  pe + "\ndates were : " +						  " start = " + atts.getValue ("start") +						  " end = " + atts.getValue ("end") +						  " setup = " + atts.getValue ("setup") +						  " wrapup = " + atts.getValue ("wrapup"));	}  }