public static void main(String[] args) {

		try {
			DomXml domXml = new DomXml(new FileInputStream(new File("xml.xml")));
			Element reElement = domXml.getRoot();
			long t = System.currentTimeMillis();
			persons p = (persons) domXml.pas(persons.class, reElement);
			System.out.println(p.toString());
			System.out.println(System.currentTimeMillis() - t);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	}