public CountryIdParserWUA(String url) {
        this.url = url;
        try {
            URL UrlToParse = new URL(url);
            DOMParser p = new DOMParser();
            p.parse(new InputSource(UrlToParse.openStream()));
            Document doc = p.getDocument();
            NodeList nodeLst = doc.getElementsByTagName("country");

            for (int i = 1; i < nodeLst.getLength(); i++) {
                Element e = (Element) nodeLst.item(i);
                Integer CountryId = Integer.parseInt(e.getAttribute("id"));
                String CountryName = (((Element) nodeLst.item(i)).getElementsByTagName("name")).item(0).getTextContent();
                //System.out.println(CountryNameId + "   " + CountryName);
                CountryIdName.put(CountryId, CountryName);
            }

        } catch (MalformedURLException e) {
            e.printStackTrace();
        } catch (SAXException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }