Class EqualityFilter
- java.lang.Object
-
- org.silverpeas.core.contribution.content.form.filter.EqualityFilter
-
- All Implemented Interfaces:
FieldFilter
public class EqualityFilter extends Object implements FieldFilter
A EqualityFilter test equality of the given field to a reference field.- See Also:
Field
,FieldDisplayer
-
-
Constructor Summary
Constructors Constructor Description EqualityFilter(Field reference)
An Equality Filter is built upon a reference field
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(Field tested)
Returns true if the given field equals the reference.
-
-
-
Constructor Detail
-
EqualityFilter
public EqualityFilter(Field reference)
An Equality Filter is built upon a reference field
-
-
Method Detail
-
match
public boolean match(Field tested)
Returns true if the given field equals the reference.- Specified by:
match
in interfaceFieldFilter
-
-