|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.filter.IdFilter
public class IdFilter
Filter that matches resources by ResourceIds.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.filter.Filter |
|---|
Filter.Type |
| Constructor Summary | |
|---|---|
IdFilter(List<ResourceId> selectedIds)
Creates a new IdFilter that selects the resources with the given ids. |
|
IdFilter(Set<String> selectedIds)
Creates a new IdFilter that selects the resources with the given ids. |
|
IdFilter(String... selectedIds)
Creates a new IdFilter that selects the resources with the given ids. |
|
| Method Summary | ||
|---|---|---|
|
evaluate(T obj,
XPathEvaluator<T> xpathEvaluator)
Determines if the given object matches this Filter. |
|
Set<String> |
getMatchingIds()
Deprecated. use getSelectedIds() instead |
|
List<ResourceId> |
getSelectedIds()
Returns the ids of the resources that this filter selects. |
|
Filter.Type |
getType()
Always returns Filter.Type.ID_FILTER (for IdFilter instances). |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdFilter(String... selectedIds)
IdFilter that selects the resources with the given ids.
ids - ids of the resources that the filter will selects, must not be nullpublic IdFilter(Set<String> selectedIds)
IdFilter that selects the resources with the given ids.
ids - ids of the resources that the filter will selects, must not be nullpublic IdFilter(List<ResourceId> selectedIds)
IdFilter that selects the resources with the given ids.
selectedIds - ids of the resources that the filter will selects, must not be null| Method Detail |
|---|
public Filter.Type getType()
Filter.Type.ID_FILTER (for IdFilter instances).
getType in interface FilterFilter.Type.ID_FILTERpublic List<ResourceId> getSelectedIds()
public Set<String> getMatchingIds()
getSelectedIds() instead
public <T> boolean evaluate(T obj,
XPathEvaluator<T> xpathEvaluator)
throws FilterEvaluationException
FilterFilter.
evaluate in interface FilterT - type of the context objectobj - object that the operator is evaluated upon, must not be nullxpathEvaluator - used for evaluation of XPath expressions, must not be null
FilterEvaluationException - if the evaluation fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||