All Classes and Interfaces

Class
Description
The handler for the X2JStringHandler interface for the CONCAT keyword.
The default handler for the X2JStringHandler interface.
The handler for the X2JStringHandler interface for the LEN keyword.
The handler for the X2JStringHandler interface for the LOWER keyword.
The handler for the X2JStringHandler interface for the SUBSTR keyword.
The handler for the X2JStringHandler interface for the UPPER keyword.
The handler for the X2JStringHandler interface for the VALUE keyword.
Constants that are used across the X2J code base.
This class is the place where the actual logic of XML to JSON conversion resides.
Error codes to uniquely identify/associate an error scenario.
Custom exception class for X2J code base.
Execution Mode.
This is the main class that will run when the x2j jar file is executed from command line.
The only mandatory argument that is required is the input XML file path.
If the JSON schema file path is passed as an argument, then that will be used for conversion, otherwise the default conversion logic will be applied.
For more information on JSON schema definition, please visit: XML-To-JSON Converter
Additionally, if the output file path is passed as an argument, then the output converted JSON will be saved in the specified file, otherwise the converted JSON will be printed in the console.
A single instance utility class that reads the error messages properties file (both out-of-the-box and extended files) and returns the messages as and when required.
The interface X2JStringHandler.
A factory for creating X2JStringHandler objects.
This is a utility class which implements some common XML/String utilities functionalities that are used across the XML-To-JSON Converter project.
The class XMLToJSONConverter is the starting point.
This exposes various methods for the XML to JSON conversion.
It accepts the input XML and the schema JSON as String or as a File object.
Before initiating the conversion logic, this class tries to figure out the JSON schema, if not explicitly passed as argument.
If the JSON schema is not found, the default conversion logic will be applied.
The handler for the X2JStringHandler interface for the XPATH keyword.