| 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.schema |
This package contains frontend classes/interface of the library: binders reader and writer and its factory.
|
| com.abubusoft.kripton.binder.xml |
Implementation of writer/reader binder for xml format
|
| com.abubusoft.kripton.common |
common classes package.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
BinderReader.read(Class<? extends T> type,
InputStream source)
Read or deserialize an input stream into a POJO of specific type.
|
<T> T |
BinderReader.read(Class<? extends T> type,
Reader source)
Read or deserialize a character stream reader into a POJO of specific type.
|
<T> T |
BinderReader.read(Class<? extends T> type,
String source)
Read or deserialize an string into a POJO of specific type.
|
String |
BinderWriter.write(Object source)
Write POJO into string.
|
void |
BinderWriter.write(Object source,
OutputStream os)
Write POJO into output stream of bytes.
|
void |
BinderWriter.write(Object source,
Writer out)
Write POJO into character stream.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JsonReader.read(Class<? extends T> type,
InputStream source) |
<T> T |
JsonReader.read(Class<? extends T> type,
Reader source) |
<T> T |
JsonReader.read(Class<? extends T> type,
String source) |
String |
JsonWriter.write(Object source) |
void |
JsonWriter.write(Object source,
OutputStream os) |
void |
JsonWriter.write(Object source,
Writer out) |
| Modifier and Type | Method and Description |
|---|---|
static MappingSchema |
MappingSchema.fromClass(Class<?> type)
Factory method.
|
static MappingSchema |
MappingSchema.fromObject(Object object)
Factory method.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
XmlSAXReader.read(Class<? extends T> type,
InputStream source) |
<T> T |
XmlDOMReader.read(Class<? extends T> type,
InputStream source) |
<T> T |
XmlSAXReader.read(Class<? extends T> type,
Reader source) |
<T> T |
XmlDOMReader.read(Class<? extends T> type,
Reader source) |
<T> T |
XmlSAXReader.read(Class<? extends T> type,
String source) |
<T> T |
XmlDOMReader.read(Class<? extends T> type,
String source) |
String |
XmlPullWriter.write(Object source) |
void |
XmlPullWriter.write(Object source,
OutputStream os) |
void |
XmlPullWriter.write(Object source,
Writer out) |
| Modifier and Type | Method and Description |
|---|---|
GenericClass |
GenericClass.resolveType(Type type) |
Copyright © 2016. All rights reserved.