Package tribble.repository

 

See:
          Description

Interface Summary
Document Generic read-only repository document.
DocumentFilter<DocType extends Document> Generic repository document search filter.
DocumentIterator<DocType extends Document> Abstract generic document set.
Repository<DocType extends Document> Generic document repository (base class).
RepositoryReader<DocType extends Document> Generic document repository storage reader.
RepositoryWriter<DocType extends StorableDocument> Generic document repository storage writer.
StorableDocument Generic storable repository document.
 

Class Summary
AbstractDocument Generic read-only repository document.
AbstractDocumentIterator<DocType extends AbstractDocument> Abstract generic document set iterator.
AbstractStorableDocument Generic storable repository document.
DocumentProperty Generic document property.
WritableProperty Generic modifiable document property.
 

Package tribble.repository Description

Document Repository Classes

The classes in this package provide interfaces and abstract classes for implementing document repository storage systems, which are systems capable of storing and retrieving documents of some kind.

What constitutes a "document" is left up to the implementation, but generally speaking a document consists of some kind of content data (e.g., an image, text, XML document, audio data, etc.), and zero or more properties. The properties, also known as the document meta-data, provide attributes for the document beyond the contents of the document itself. Typically, one or more of these properties are used as keys to index the document within the document repository storage system.

The basis of a document repository system is the Document class, which is an interface providing methods for implementing read-only document subclasses. Such document objects are retrieved from a repository reader, which is a subclass of the RepositoryReader interface. Repository readers can retrieve documents by their IDs, or search for multiple matching documents within the repository.

Likewise, the StorableDocument interface provides the basic methods for implementing writable document subclasses, which are necessary in order to create and store documents in a document repository system. Such document objects are created and stored by a repository writer, which is a subclass of the RepositoryWriter interface.

In general, the methods of these classes throw IOExceptions whenever they encounter error conditions.

Source code:
http://david.tribble.com/src/java/tribble/repository/package.html
Documentation:
http://david.tribble.com/docs/tribble/repository/package.html