public void endElement(String uri, String localName, String qName) throws SAXException {

        if (qName.equals("voyageur")) {
            // we are no longer processing a <reg.../> tag
            voyageurs.addElement(currentVoyageur);
            currentVoyageur = null;
        } else if (qName.equals("id_voyageur")) {
            idTag = "close";
        } else if (qName.equals("nom")) {
            nomTag = "close";
        } else if (qName.equals("prenom")) {
            prenomTag = "close";
        }else if (qName.equals("e_mail")) {
            emailTag = "close";
        }
        else if (qName.equals("password")) {
            passwordTag = "close";
        }
        else if (qName.equals("date_inscription")) {
            date_inscriptionTag = "close";
        }
    }