Code Robo
Formatter
Comparator
Tester
Merger
Converter
Utility
Java Code Complience
Validator
EncoderDecoder
Virtual Service
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).

It provides following options to user to select to guide the generated Java Bean (POJO) classes.
  1. JSON Property Annotation - allow user to add JSON annotation in the generated java bean code
  2. JAXB Annotation - allow user to add JAXB annotation in the generated java bean code
  3. Bean class optimization - Allow user to optimize the number of bean classes
  4. toString() method - Provides option to generate override toString() method of the Object cass into the Java Bean class
  5. Lombok - allow user to Lombok annotation and not to add java property getter and setter methods
  6. Log4J Annotation - allow user to add Log4J annotation in the generated java bean code
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
Generate Lombok Getter Annotation Generate Lombok Setter Annotation Generate log4j2 Annotation
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.

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