See: Description
| Interface | Description |
|---|---|
| Printable |
Interface advertising that an object can write its contents
into an object printer.
|
| PrintHandler<T> |
An interface that takes care of printing a specific type of object.
|
| Readable |
Interface advertising that an object can read its contents using an object
reader.
|
| ReadHandler<T> |
An interface that takes care of reading a specific type of object.
|
| Class | Description |
|---|---|
| ObjectPrinter<T> |
Prints the content of an object to a given format.
|
| ObjectReader<T> |
Reads the content of an object in a given format, to recreate the
corresponding instance.
|
| ReflectionPrintHandler<T> |
Print handler that uses reflection to serialize the fields of an object.
|
| ReflectionReadHandler<T> |
Read handler that uses reflection to deserialize and populate the fields
of an object.
|
| Exception | Description |
|---|---|
| PrintException |
Exception that can be thrown when using an object printer.
|
| ReadException |
Exception that can be thrown when using an object reader.
|
Typically, if you want to create objects that support serialization,
you only need to import this package into your project and make sure your
objects implement the Readable and
Printable interfaces.
On the other hand, if you want to use serialization, you also need one of the concrete packages that implement serialization (such as ca.uqac.lif.azrael.json or ca.uqac.lif.azrael.xml).
Copyright © Sylvain HallĂ©. All Rights Reserved.