Class NormalizingFilter

  • All Implemented Interfaces:
    Filter

    public class NormalizingFilter
    extends ExternallyChainedFilter
    Proxy the filter to filter based on object normalized version. Similar to ObjectNormalizerFacade.NormalizeFilter, but this one DOES NOT expect that it gets object to be accepted/rejected in normalized form - it normalizes the object just before deciding. Currently used for case insensitive filtering.
    Author:
    mederly
    • Method Detail

      • accept

        public boolean accept​(ConnectorObject obj)
        Return the decision based on normalized version of the object.
        Parameters:
        obj - - The specified ConnectorObject.
        Returns:
      • accept

        public <R,​P> R accept​(FilterVisitor<R,​P> v,
                                    P p)
        Description copied from interface: Filter
        Applies a FilterVisitor to this Filter.
        Type Parameters:
        R - The return type of the visitor's methods.
        P - The type of the additional parameters to the visitor's methods.
        Parameters:
        v - The filter visitor.
        p - Optional additional visitor parameter.
        Returns:
        A result as specified by the visitor.