public final class FilteredResultsHandler extends Object implements ResultsHandler
Modifier and Type | Class and Description |
---|---|
static class |
FilteredResultsHandler.PassThruFilter
Use a pass thru filter to use if a null filter is provided.
|
Constructor and Description |
---|
FilteredResultsHandler(ResultsHandler handler,
Filter filter)
Filter chain for producers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handle(ConnectorObject object)
Call-back method to do whatever it is the caller wants to do with
each
ConnectorObject that is returned in the result of
SearchApiOp . |
public FilteredResultsHandler(ResultsHandler handler, Filter filter)
producer
- Producer to filter.filter
- Filter to use to accept objects.public boolean handle(ConnectorObject object)
ResultsHandler
ConnectorObject
that is returned in the result of
SearchApiOp
.handle
in interface ResultsHandler
object
- each object return from the search.Copyright © 2013. All Rights Reserved.