|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| 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 objects with certain ids.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.filter.Filter |
|---|
Filter.Type |
| Constructor Summary | |
|---|---|
IdFilter(Set<String> matchingIds)
Creates a new IdFilter that matches the objects with the given ids. |
|
IdFilter(String... ids)
Creates a new IdFilter that matches the objects with the given ids. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(MatchableObject object)
Determines if the given MatchableObject matches this Filter. |
Set<String> |
getMatchingIds()
Returns the ids of the objects that this filter matches. |
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... ids)
IdFilter that matches the objects with the given ids.
ids - ids of the objects that the filter will matchpublic IdFilter(Set<String> matchingIds)
IdFilter that matches the objects with the given ids.
matchingIds - ids of the objects that the filter will match| Method Detail |
|---|
public Filter.Type getType()
Filter.Type.ID_FILTER (for IdFilter instances).
getType in interface FilterFilter.Type.ID_FILTERpublic Set<String> getMatchingIds()
public boolean evaluate(MatchableObject object)
throws FilterEvaluationException
FilterMatchableObject matches this Filter.
evaluate in interface Filterobject - MatchableObject to be tested
Filter evaluates to true, else false
FilterEvaluationException - if the evaluation fails
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||