package

org.apache.commons.betwixt.io.id

This package is home to IDGenerator implementations.

Betwixt can generate ID and IDREF attributes for the elements it creates. By setting the IDGenerator property on the bean writer, a user can customize the algorithm used to generate these id's.

This package contains the standard implementations of IDGenerator that ship with Betwixt. Users who want to create their own implementations can use these classes as examples.

Classes

AbstractIDGenerator

Abstract superclass for IDGenerator implementations. 

RandomIDGenerator

Generates ID's at random. 

SequentialIDGenerator

Generates ID's in numeric sequence.