|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
Adapter | If you want to serialize objects that do not comply to the java beans conventions or objects that were provided by a third party, you should write an Adapter. |
SIXBSSerializable | Marks an object as SIXBS-serializable, with special rules. |
Class Summary | |
AbstractAdapter | Convenience superclass for Adapter s. |
AdapterFinder | Searches for Adapater classes. |
SIXBSReader | DeSerializes beans from XML. |
SIXBSWriter | Serializes beans to XML. |
Exception Summary | |
SIXBSException | SIXBS Exception. |
sixbs is a little library capable of writing and reading beans to and from XML using their public properties. sixbs stands for "Simple XML Bean Serialization".
Each property that has a getter and a setter method is used in the
serialization process. Some classes are serialized as literals. These are
all primitives and their corresponding classes, String
and URL
.
This list might grow in the future. All other classes are asked for their properties
and these are written to XML. Only classes that have a no arg constructor may
be serialized this way.
If you need to serialize a class that does not have a default constructor you need
to write a Adapter
. Some prewritten Adapters can be found in the
com.tagtraum.sixbs.adapters
package and its subpackages.
If you want to serialize only some of the properties of an object you may
implement the SIXBSSerializable
interface.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |