public interface ItemFilter extends Filter
ItemFilterSet.| Modifier and Type | Field and Description |
|---|---|
static ItemFilter |
ALL
The "Catch all" item filter.
|
static ItemFilter |
NONE
The "Miss all" item filter.
|
static final ItemFilter ALL
static final ItemFilter NONE
boolean matches(Item item,
int depth)
throws RepositoryException
item - the item to checkdepth - a relative depth.true if this filter matches the criteria;
false otherwise.RepositoryException - if an error occurs.