| 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 BinderWriter |
BinderFactory.getJSONWriter()
Get BinderWriter instance with default format(encoding is utf-8), the BinderWriter instance can be used to write Java POJO into JSON.
|
static BinderWriter |
BinderFactory.getJSONWriter(BinderOptions options)
Get BinderWriter instance with specific format, the BinderWriter instance can be used to write Java POJO into JSON.
|
static BinderWriter |
BinderFactory.getXMLWriter()
Get BinderWriter instance with default format(encoding is utf-8, indent is true), the BinderWriter instance can be used to write Java POJO into XML.
|
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 BinderWriter |
AbstractSharedPreference.objWriter |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonWriter
BinderWriter implementation using org.json library,
|
| Modifier and Type | Class and Description |
|---|---|
class |
XmlPullWriter
BinderWriter implementation using kxml pull parser.
|
Copyright © 2016. All rights reserved.