@Override
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException {
  thisElement = qName;
  String name= new String();
  int delay=0,workTime=0,runCount=0;
  if (atts != null) 
  {
        int len = atts.getLength();
        for (int i = 0; i < len; i++) 
        {
            switch (atts.getLocalName(i))
            {
                case "name": 
                    name=atts.getValue(i);
                    break;
                case "delayFirstStart": 
                    delay=Integer.parseInt(atts.getValue(i));
                    break;
                case "operationTime": 
                    workTime=Integer.parseInt(atts.getValue(i));
                    break;
                case "runCount": 
                    runCount=Integer.parseInt(atts.getValue(i));
                    break;
            }
        }
        if (workTime!=0 && runCount!=0) 
        {
                list.add(new Task(name, delay, workTime, runCount));
        }
  }
}