@@ -0,0 +1,795 @@
+%0Aimport jop.Parser;%0A//Download JOParser2.0 from here https://goo.gl/4SFCpR%0A//%0A/**%0A *%0A * @author Ishan%0A */%0Apublic class CreateXMLForObject %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        try %7B%0A            String xml = %22%3Cobject class=%5C%22Customer%5C%22%3E%3Cparam%3E%3Cname%3EidCustomer%3C/name%3E%3Cobject class=%5C%22java.lang.Integer%5C%22%3E100%3C/object%3E%3C/param%3E%3Cparam%3E%3Cname%3Efirstname%3C/name%3E%3Cobject class=%5C%22java.lang.String%5C%22%3EABCD%3C/object%3E%3C/param%3E%3Cparam%3E%3Cname%3Elastname%3C/name%3E%3Cobject class=%5C%22java.lang.String%5C%22%3EQWER%3C/object%3E%3C/param%3E%3C/object%3E%22;%0A            Customer cust = (Customer) Parser.getParser().createObjectForXML(xml);%0A            System.out.println(cust.getIdCustomer() + %22 %22 + cust.getFirstname() + %22 %22 + cust.getLastname());%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A

Create CreateObjectForXML.java