public interface Serializator
extends java.io.Closeable
getStream()
which will have to be implemented by returning the appropriate stream to be processed
by the XML/JSON processors.Modifier and Type | Field and Description |
---|---|
static int |
SER_FILE
Bit constant: the method supports FILE read/write operations.
|
static int |
SER_HANDLE
Bit constant: the method supports HANDLE read/write operations.
|
static int |
SER_JSON_ARRAY
Bit constant: the method supports JSON_ARRAY read/write operations.
|
static int |
SER_JSON_OBJECT
Bit constant: the method supports JSON_OBJECT read/write operations.
|
static int |
SER_LONGCHAR
Bit constant: the method supports LONGCHAR read/write operations.
|
static int |
SER_MEMPTR
Bit constant: the method supports MEMPTR read/write operations.
|
static int |
SER_STREAM
Bit constant: the method supports STREAM read/write operations.
|
static int |
SER_STREAM_HANDLE
Bit constant: the method supports STREAM_HANDLE read/write operations.
|
static java.lang.String |
TYPE_FILE
String constant: case insensitive (in uppercase) for serialization into/from a FILE.
|
static java.lang.String |
TYPE_HANDLE
String constant: case insensitive (in uppercase) for serialization into/from a HANDLE.
|
static java.lang.String |
TYPE_JSON_ARRAY
String constant: case insensitive (in uppercase) for serialization into/from a JsonArray variable.
|
static java.lang.String |
TYPE_JSON_OBJECT
String constant: case insensitive (in uppercase) for serialization into/from a JsonObject variable.
|
static java.lang.String |
TYPE_LONGCHAR
String constant: case insensitive (in uppercase) for serialization into/from a LONGCHAR variable.
|
static java.lang.String |
TYPE_MEMPTR
String constant: case insensitive (in uppercase) for serialization into/from a MEMPTR variable.
|
static java.lang.String |
TYPE_STREAM
String constant: case insensitive (in uppercase) for serialization into/from a STREAM variable.
|
static java.lang.String |
TYPE_STREAM_HANDLE
String constant: case insensitive (in uppercase) for serialization into/from a STREAM-HANDLE.
|
Modifier and Type | Method and Description |
---|---|
java.io.Closeable |
getStream()
The method to be implemented by the sources.
|
static final int SER_FILE
static final int SER_STREAM
static final int SER_STREAM_HANDLE
static final int SER_MEMPTR
static final int SER_HANDLE
static final int SER_LONGCHAR
static final int SER_JSON_OBJECT
static final int SER_JSON_ARRAY
static final java.lang.String TYPE_FILE
static final java.lang.String TYPE_STREAM
static final java.lang.String TYPE_STREAM_HANDLE
static final java.lang.String TYPE_MEMPTR
static final java.lang.String TYPE_HANDLE
static final java.lang.String TYPE_LONGCHAR
static final java.lang.String TYPE_JSON_OBJECT
static final java.lang.String TYPE_JSON_ARRAY