Package org.apache.jackrabbit.base

General base classes for implementing the JCR interfaces.

See:
          Description

Class Summary
BaseItem Item base class.
BaseNamespaceRegistry NamespaceRegistry base class.
BaseNode Node base class.
BaseProperty Property base class.
BaseRepository Repository base class.
BaseSession Session base class.
BaseWorkspace Workspace base class.
 

Package org.apache.jackrabbit.base Description

General base classes for implementing the JCR interfaces.

This package contains simple base class implementations of the JCR API interfaces. These classes implement the API methods either by throwing Unsupported(Repository)OperationExceptions or by calling other API methods. For example the Property.getString() method is implemented as Property.getValue().getString(). See the javadoc comments of each method for implementation details.

The purpose of this package is to make it easy to incrementally implement the JCR API without creating a large numbers of stub methods. A JCR implementation class can inherit one of these base classes and only override the methods it needs.

Desing principles

The base classes in this package follow the design principles listed below. The purpose of these design principles is to avoid introducing unnecessary dependencies or complexities.



Copyright © 2004-2005 . All Rights Reserved.