Code Robo
Virtual Service
Java Code Complience

Java Code Generator For XML Parsing
       Talk to EasyAssistant

XML is used almost every application. Processing xml is very common task and we write code for that.This tool has been built up to generate JAVA code which is required to process XML.. Input is XML and output is java code. It can generate java code which is required to parse a XML document and to generate the XML document.
Click Here To Watch A Demo On It(

XML.(* Required): It is required. Java Constant(Optional):

XML Template(Optional) |
XML Constant File      XML Util File
API Name      Return Type
Generate Constant Entries Element May Have Content. Generate Method JDK1.8+

Produced java code uses XML Util file. It can be downloaded from below link. It also provides a desktop utility to mask/trim xmls attribute/element values. Please download desktop based xml masking utility to trim/mask xml from below link.
Download utility to mask xml | Download XmlUtil Java File |

How It Works:
It first check the correct ness of the input XML and analyse it. It applies the code generation algorithim on input parameters and generate the java code. Input Parameters are:
  1. XML Constant File: The name of the java constant file used to define XML elements and attribute names.
  2. XML Util File: The name of the XML utility file which is referred from the generated code
  3. API Name: Name of the API which will be invoked. It is used in the generated java code to create input XML.
  4. Return Type: It is optional. With the help of this attribute we can can mention whether we need to value in a list, set or map after parsing the XML
  5. Generate Constant Entries: If you check this check box tool will generate java code for constant declerations.
User Comments:
Rima Dasgupta(2022-04-16):
Thanks for the tool! My xml util file name is When I am providing it as input, it's not honouring it. In the generated code its using 'XMLUtil' instead of 'XmlUtil'. I need to change (replace) xml util file name manually after generating the code. Can you please fix this issue?
easycodeforall: (2022-04-21)
Thanks for reporting it! We will fix it soon.

I am able to save lot of time on using this tool! It made reading data from xml easy! Specifically I like the way the XML Util methods are taking care of null pointer exception.
easycodeforall(Admin): (2022-04-21)
Thanks for using easycodeforall!

Can you please generating code using stream api ?
easycodeforall: (2022-09-15)
Currently it generates code read data from XML as well as to build XML document. It would ne great if you could let us know your requirement in detail.
Hi, thank you for this tool, it is very useful. I have quite a complex xml file and the code that is generated contains variables with the same name and the list it returns is not getting populated. Is this intentional? How should I use the generated code? Thank you

Post Your Comment:
Name :
Email ( Optional) :
Comments / Suggestion (* Required) It is required: :