|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentFilter<DocType extends Document>
Generic repository document search filter.
A document repository contains documents. A repository reader can searhc for documents within the repository, based on some kind of searching criteria. This criteria could be implemented as a simple text string, or it could be a more complex object type such as an expression tree. The criteria could also be implemented as a document search filter, which is a subtype that implements this interface.
Subtypes implementing this interface may be passed as parameters to the
RepositoryReader.findDocuments()
method.
Note: This requires Java 1.5 or later.
RepositoryReader
,
Document
Field Summary | |
---|---|
static java.lang.String |
REV
|
Method Summary | |
---|---|
boolean |
accept(DocType doc)
Accept or reject a document according to this search filter criteria. |
Field Detail |
---|
static final java.lang.String REV
Method Detail |
---|
boolean accept(DocType doc)
doc
- A document to compare against the searching criteria.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |