Class DefaultHandler
java.lang.Object
com.x2j.converter.mgr.handlers.impl.DefaultHandler
- All Implemented Interfaces:
X2JStringHandler
The default handler for the X2JStringHandler interface. This is a fallback
handler in case an unknown keyword is used in the JSON schema. This handler
will return the JSON value string as is.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhandleString
(String rawValueString, Element rootElement) Returns the same JSON value string as is.
-
Constructor Details
-
DefaultHandler
public DefaultHandler()
-
-
Method Details
-
handleString
Returns the same JSON value string as is.- Specified by:
handleString
in interfaceX2JStringHandler
- Parameters:
rawValueString
- the raw JSON value stringrootElement
- the root element in the input XML- Returns:
- the raw JSON value string
- Throws:
X2JException
- X2JException
-