@@ -0,0 +1,1072 @@
+//Download JOParser2.0 from here https://goo.gl/4SFCpR%0A%0A%0Aimport DB.Customer;%0Aimport jop.Parser;%0A%0A/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%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            Customer customer = new Customer();%0A            customer.setFirstname(%22ABCD%22);%0A            customer.setLastname(%22QWER%22);%0A            customer.setIdCustomer(100);%0A            String xml = Parser.getParser().createXMLForObject(customer);%0A            System.out.println(xml);%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A%0A//output%0A//%3Cobject class=%22DB.Customer%22%3E%3Cparam%3E%3Cname%3EidCustomer%3C/name%3E%3Cobject class=%22java.lang.Integer%22%3E100%3C/object%3E%3C/param%3E%3Cparam%3E%3Cname%3Efirstname%3C/name%3E%3Cobject class=%22java.lang.String%22%3EABCD%3C/object%3E%3C/param%3E%3Cparam%3E%3Cname%3Elastname%3C/name%3E%3Cobject class=%22java.lang.String%22%3EQWER%3C/object%3E%3C/param%3E%3C/object%3E%0A%0A

Create CreateXMLForObject.java