Code Robo
Virtual Service
Comparator
Tester
Converter
Utility
Java Code Complience
Validator
Formatter
EncoderDecoder



XML To POJO / Java Bean Converter:
       Talk to EasyAssistant

Generates Java bean classes(POJO) from XML. Take XML string as input and produces POJO ( java bean classes).
Click Here To Watch A Demo On It(https://youtu.be/3pdy7ZHQvPM).

XML.(* Required): It is required.
Generate JSON Property Annotation Generate JAXB Annotation Element May Have TextContent
Bean Class Postfix Generate ToString() Method Optimize On Bean Count
Package Name Remove Namespace if present

How It Works:
It first validate the input XML content and analyse it. It extracts the element and attributes and its values from the XML. Convert the xml element to Java class and add attributes as class variables to the Java classes.
. Parameters are:
  1. XML : Source XML content.
  2. Bean Class Postfix: Java bean class postfix name. default value is 'bean'
  3. Intended to use in Webservice: If it is checked, it add JAXB annotation in the generated POJO / Bean class.
Steps To Use Converter:
  1. Copy your XML string inside the first text box (XML:)
  2. Enter your POJO / Bean class name prefix. e.g. bean
  3. Check the the check-box if you would like to add JAXB annotation in the Java class
  4. Click 'Generate POJO / Bean' button to start generating POJO / Bean objects.
User Comments:
anonymous:
What is the use'Optimize On Bean Count' checkbox?
    Reply;
easycodeforall:
'Optimize On Bean Count' means, it will reduces the number of bean classes. It will not generate Bean class for leaf level element having no attribute.
    Reply


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