Class IsFullySupportedFilterVisitor

  • All Implemented Interfaces:
    ExpressionVisitor, FilterVisitor

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

    This method will look up the right information in the provided FilterCapabilities instance for you depending on the type of filter provided. It will do a deep structural search of the provided filter ensuring every expression and function is accounted for and supported by the provided FilterCapabilities.

    Example:

    
     boolean yes = filter.accepts( IsFullySupportedFilterVisitor( capabilities ), null );
     
    Author:
    Jody Garnett (Refractions Research)