Class Json2XmlHandler
java.lang.Object
org.frankframework.documentbuilder.Json2XmlHandler
- All Implemented Interfaces:
JsonEventHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJson2XmlHandler
(String root, ContentHandler handler, boolean prettyPrint) Json2XmlHandler
(ContentHandler handler, boolean prettyPrint) -
Method Summary
Modifier and TypeMethodDescriptionvoid
endArray()
void
void
void
handles a string value as numeric (i.e without quotes in JSON)void
Must be able to handle String, long, BigDecimal, boolean, Date and nullvoid
void
void
void
startObjectEntry
(String key)
-
Field Details
-
DEFAULT_ARRAY_ELEMENT_NAME
-
-
Constructor Details
-
Json2XmlHandler
-
Json2XmlHandler
-
-
Method Details
-
startDocument
- Specified by:
startDocument
in interfaceJsonEventHandler
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceJsonEventHandler
- Throws:
SAXException
-
startObject
- Specified by:
startObject
in interfaceJsonEventHandler
- Throws:
SAXException
-
startObjectEntry
- Specified by:
startObjectEntry
in interfaceJsonEventHandler
- Throws:
SAXException
-
endObject
- Specified by:
endObject
in interfaceJsonEventHandler
- Throws:
SAXException
-
startArray
- Specified by:
startArray
in interfaceJsonEventHandler
- Throws:
SAXException
-
endArray
- Specified by:
endArray
in interfaceJsonEventHandler
- Throws:
SAXException
-
primitive
Description copied from interface:JsonEventHandler
Must be able to handle String, long, BigDecimal, boolean, Date and null- Specified by:
primitive
in interfaceJsonEventHandler
- Throws:
SAXException
-
number
Description copied from interface:JsonEventHandler
handles a string value as numeric (i.e without quotes in JSON)- Specified by:
number
in interfaceJsonEventHandler
- Throws:
SAXException
-