|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.osf.MatchRuleFilter
public class MatchRuleFilter
A special filter that uses internally a MatchRule to check whether an object matches or not. The objects it can check must implement either java.util.Map or org.pf.reflect.AttributeReadAccess.
AttributeReadAccess| Constructor Summary | |
|---|---|
MatchRuleFilter(MatchRule rule)
Initialize the new instance with a match rule. |
|
| Method Summary | |
|---|---|
MatchRule |
getMatchRule()
|
boolean |
matches(java.lang.Object object)
Returns true if the given object matches this filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatchRuleFilter(MatchRule rule)
rule - The match rule to be used for object matching
java.lang.IllegalArgumentException - if the given parameter is null| Method Detail |
|---|
public MatchRule getMatchRule()
public boolean matches(java.lang.Object object)
matches in interface IObjectFilterobject - Either an instance of Map or AttributeReadAccessAttributeReadAccess
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||