public interface DocumentFilterFactory
Document
filters.
Document filter acts to transform the information retrieved from
its source document. Typically document filters would add,
remove, or modify a Document's Properties
,
including the document content. A document filter might even
throw SkippedDocumentException
to prevent a document
from being fed to the GSA.
Multiple document filters may be chained together, forming a transformational document processing pipeline.
DocumentFilterChain
Modifier and Type | Method and Description |
---|---|
Document |
newDocumentFilter(Document source)
Returns a new
Document that acts as a filter for the
supplied source Document. |
Document newDocumentFilter(Document source) throws RepositoryException
Document
that acts as a filter for the
supplied source
Document.source
- the input Document
for the filter - must not be
null
RepositoryException
- if there was a problem accessing the source