Class IsSupportedFilterVisitor

Object
IsSupportedFilterVisitor
All Implemented Interfaces:
ExpressionVisitor, FilterVisitor

public class IsSupportedFilterVisitor extends Object implements FilterVisitor, ExpressionVisitor
This visitor will return Boolean.TRUE if the provided filter is supported by the the FilterCapabilities.

This method will look up the right information in the provided FilterCapabilities instance for you depending on the type of filter provided.

Example:


 boolean yes = filter.accepts( IsSupportedFilterVisitor( capabilities ), null );
 
Please consider IsSupportedFilterVisitor if you need to be sure of the entire Filter.
Author:
Jody Garnett (Refractions Research)