Interface Filter<T>
-
- All Known Implementing Classes:
AbstractContentAssistVisitor.CollectionMappingFilter
,AbstractContentAssistVisitor.DifferentComparisonFilter
,AbstractContentAssistVisitor.MappingTypeFilter
,AbstractContentAssistVisitor.PropertyMappingFilter
,AndFilter
,CompoundFilter
,NullFilter
public interface Filter<T>
A filter is used to determine if a value can be "accepted" or "rejected".- Version:
- 2.3
- Since:
- 2.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(T value)
Determines whether the specified object is "accepted" by the filter.
-
-
-
Method Detail
-
accept
boolean accept(T value)
Determines whether the specified object is "accepted" by the filter. The semantics of "accept" is determined by the contract between the client and the server.- Parameters:
value
- The value to filter- Returns:
true
if the given value is "accepted" by this filter;false
if it was "rejected"
-
-