| Package | Description |
|---|---|
| com.abubusoft.kripton |
Contains logic to create an intermediate rapresentation of data between java pojo and json/xml format.
|
| com.abubusoft.kripton.android.sharedprefs | |
| 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 BinderReader |
BinderFactory.getJSONReader()
Get BinderReader instance with default format(encoding is utf-8), the BinderReader instance cna be used to read JSON into POJO.
|
static BinderReader |
BinderFactory.getJSONReader(BinderOptions format)
Get BinderReader instance with specific format, the BinderReader instance can be used to read JSON into POJO.
|
static BinderReader |
BinderFactory.getXMLReader()
Get BinderReader instance with default format(encoding is utf-8), the BinderReader instance can be used to read XML into Java POJO.
|
static BinderReader |
BinderFactory.getXMLReader(BinderFactory.XmlReaderType type)
Get BinderReader instance with default format(encoding is utf-8), the BinderReader instance can be used to read XML into Java POJO.
|
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected BinderReader |
AbstractSharedPreference.objReader |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonReader
BinderReader implementation using org.json library,
JsonReader de-serialize JSON string into POJO, the de-serialization is guided
by mapping schema defined in the POJO using Nano annotations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XmlDOMReader
BinderReader implementation using DOM xml parser.
|
class |
XmlSAXReader
BinderReader implementation using Java SAX parser
|
Copyright © 2016. All rights reserved.