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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Item item,
int depth)
Checks if the given item matches this filters criteria.
|
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.Copyright © 2010 - 2020 Adobe. All Rights Reserved