public void startElement(String uri,String localName,String qName,Attributes attrs){
        if(qName.equals(XmlConst.XML_MEDICINE)){
            curr = new MedicineData();
            curr.setId(attrs.getValue(XmlConst.XML_ATTRIBUTE_ID)) ;
        }
        if(qName.equals(XmlConst.XML_DOSAGE)){
            curr.setDosageId(attrs.getValue(XmlConst.XML_ATTRIBUTE_ID));
        }
        if(qName.equals(XmlConst.XML_PACKAGE)){
            curr.setPackageId(attrs.getValue(XmlConst.XML_ATTRIBUTE_ID));
        }
        if(!(XmlConst.XML_MEDICINE).equals(qName) && !qName.equals(XmlConst.XML_MEDICINES) && !qName.equals(XmlConst.XML_DOSAGE) && !qName.equals(XmlConst.XML_PACKAGE))
            currEnum = MedicineEnum.valueOf(qName.toUpperCase());
    }