| Package | Description |
|---|---|
| com.abubusoft.kripton |
Contains logic to create an intermediate rapresentation of data between java pojo and json/xml format.
|
| com.abubusoft.kripton.binder.json |
Package for JSON implementation of binder reader/writer.
|
| com.abubusoft.kripton.binder.xml |
Implementation of writer/reader binder for xml format
|
| Modifier and Type | Method and Description |
|---|---|
static BinderOptions |
BinderOptions.build()
Builder for format class
|
BinderOptions |
BinderOptions.encoding(String value) |
BinderOptions |
BinderOptions.indent(boolean value) |
BinderOptions |
BinderOptions.useApostrophe(boolean useApostrophe)
if true use apostrophe to delimit strings.
|
| Modifier and Type | Method and Description |
|---|---|
static BinderJsonReader |
BinderFactory.getJsonReader(BinderOptions format)
Get BinderReader instance with specific format, the BinderReader instance can be used to read JSON into POJO.
|
static BinderJsonWriter |
BinderFactory.getJsonWriter(BinderOptions options)
Get BinderWriter instance with specific format, the BinderWriter instance can be used to write Java POJO into JSON.
|
static BinderReader |
BinderFactory.getXmlReader(BinderFactory.XmlReaderType type,
BinderOptions format)
Get BinderReader instance with specific format, the BinderReader instance can be used to read XML into Java POJO.
|
static BinderWriter |
BinderFactory.getXmlWriter(BinderOptions options)
Get BinderWriter instance with default specific format, the BinderWriter instance can be used to write Java POJO into XML.
|
| Modifier and Type | Field and Description |
|---|---|
protected BinderOptions |
JsonWriter.options |
| Constructor and Description |
|---|
JsonReader(BinderOptions format) |
JsonWriter(BinderOptions options) |
| Modifier and Type | Field and Description |
|---|---|
protected BinderOptions |
XmlDOMReader.format |
protected BinderOptions |
XmlPullWriter.options |
| Constructor and Description |
|---|
XmlDOMReader(BinderOptions options) |
XmlPullWriter(BinderOptions options) |
XmlSAXReader(BinderOptions format) |
Copyright © 2016. All rights reserved.