public static void main(String[] args) throws Exception {
Student student = new Student("123", "Nguyen Van A");
Bean2XML bean2XML = Bean2XML.getInstance();
XMLDocument document = bean2XML.toXMLDocument(student);
String text = document.getTextValue();
System.out.println(text);
XML2Bean xml2Bean = XML2Bean.getInstance();
Student student2 = xml2Bean.toBean(Student.class, text);