Package com.tagtraum.sixbs

sixbs is a little library capable of writing beans to XML using their public properties.

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. Adapters are classes that hold the object you want to serialize.
SIXBSSerializable Marks an object as SIXBS-serializable, with special rules.
 

Class Summary
AbstractAdapter Abstract convenience superclass
AdapterFinder Searches for Adapater classes.
Null Null object.
ObjectIdentifier Provides unique IDs for Objects.
Reference References an object that has already been written to XML.
SIXBSReader DeSerializes beans from XML.
SIXBSWriter Serializes beans to XML.
State Represents a state and its context.
TypedArray Typed Array object.
 

Exception Summary
SIXBSException SIXBS Exception.
 

Package com.tagtraum.sixbs Description

sixbs is a little library capable of writing beans to 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.



Copyright © 2001 tagtraum industries.