Package com.x2j.converter.mgr.handlers
Class X2JStringHandlerFactory
java.lang.Object
com.x2j.converter.mgr.handlers.X2JStringHandlerFactory
A factory for creating X2JStringHandler objects.
-
Method Summary
Modifier and TypeMethodDescriptiongetHandler
(String jsonValue) Returns the appropriate handler for the JSON value string depending upon the keyword that is defined in the schema.static X2JStringHandlerFactory
Gets the single instance of X2JStringHandlerFactory.
-
Method Details
-
getInstance
Gets the single instance of X2JStringHandlerFactory.- Returns:
- instance of X2JStringHandlerFactory
-
getHandler
Returns the appropriate handler for the JSON value string depending upon the keyword that is defined in the schema.
If the keyword is not as expected, then a default handler is returned.- Parameters:
jsonValue
- the JSON value string- Returns:
- the string handler
-