Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
X
- X2J_ERR_000 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Fatal error.
- X2J_ERR_001 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while reading XML from file.
- X2J_ERR_002 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while reading JSON from file/string.
- X2J_ERR_003 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while parsing JSON from file/string.
- X2J_ERR_004 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while reading XML data using XPaths.
- X2J_ERR_005 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while reading XML attribute value using XPaths.
- X2J_ERR_006 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while reading XML element using XPaths.
- X2J_ERR_007 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while converting XML element/document to String.
- X2J_ERR_008 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while writing JSON to file.
- X2J_ERR_009 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error while parsing XML from String.
- X2J_ERR_010 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Input XML file not found.
- X2J_ERR_011 - Enum constant in enum com.x2j.converter.utils.X2JErrorCodes
-
Error during string operation.
- X2JConstants - Interface in com.x2j.converter.utils
-
Constants that are used across the X2J code base.
- X2JConversionManager - Class in com.x2j.converter.mgr
-
This class is the place where the actual logic of XML to JSON conversion resides.
- X2JErrorCodes - Enum in com.x2j.converter.utils
-
Error codes to uniquely identify/associate an error scenario.
- X2JException - Exception in com.x2j.converter.excp
-
Custom exception class for X2J code base.
- X2JException(X2JErrorCodes) - Constructor for exception com.x2j.converter.excp.X2JException
-
Instantiates a new X2JException object.
- X2JExecMode - Enum in com.x2j.converter.utils
-
Execution Mode.
- X2JMain - Class in com.x2j.converter.main
-
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. - X2JMain() - Constructor for class com.x2j.converter.main.X2JMain
- X2JMsgUtils - Class in com.x2j.converter.utils
-
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.
- X2JStringHandler - Interface in com.x2j.converter.mgr.handlers
-
The interface X2JStringHandler.
- X2JStringHandlerFactory - Class in com.x2j.converter.mgr.handlers
-
A factory for creating X2JStringHandler objects.
- X2JUtils - Class in com.x2j.converter.utils
-
This is a utility class which implements some common XML/String utilities functionalities that are used across the XML-To-JSON Converter project.
- X2JUtils() - Constructor for class com.x2j.converter.utils.X2JUtils
- XMLToJSONConverter - Class in com.x2j.converter
-
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. - XMLToJSONConverter() - Constructor for class com.x2j.converter.XMLToJSONConverter
- XPATH - Static variable in interface com.x2j.converter.utils.X2JConstants
-
XPATH(
- XPathHandler - Class in com.x2j.converter.mgr.handlers.impl
-
The handler for the X2JStringHandler interface for the XPATH keyword.
- XPathHandler() - Constructor for class com.x2j.converter.mgr.handlers.impl.XPathHandler
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form