Package com.levigo.jadice.document
Interface Document.State
- All Known Implementing Classes:
Document.BasicState
- Enclosing interface:
Document
public static interface Document.State
This is a marker interface to be implemented by objects serving as state designators for
documents. The default implementation of this interface is contained in the enum
Document.BasicState. By adding other implementations, the set of possible states may be
extended.
The most convenient way to add implementations is to let an enum implement this interface like
this:
public static enum MyState implements State {
PINING_FOR_THE_TREES, TWIDDLING_THUMBS;
}