Class DefaultMatcherCustomizer

  • All Implemented Interfaces:
    MatchCustomizer

    public class DefaultMatcherCustomizer
    extends java.lang.Object
    implements MatchCustomizer


    Note: This class is for internal usage only. Any dependency from the end-user will not be supported. Changes to this class will happen without a warning.
    Since:
    7.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean match​(SearchCriteria.rscSearch criterion, java.lang.Object value)
      Matches all values of the specified attribute against the specified criterion.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMatcherCustomizer

        public DefaultMatcherCustomizer​(boolean caseSensitive)
    • Method Detail

      • match

        public boolean match​(SearchCriteria.rscSearch criterion,
                             java.lang.Object value)
        Description copied from interface: MatchCustomizer
        Matches all values of the specified attribute against the specified criterion. If more than one value of an attribute must be matched this method will be called several times with different values for SearchCriteria.rscSearch.value.
        Specified by:
        match in interface MatchCustomizer
        Parameters:
        criterion - the defined criteria
        value - the value found in the Attribute of the provided entry
        Returns:
        true if the specified value match, false otherwise