Interface IFilterExpression

  • All Superinterfaces:
    org.osgi.framework.Filter, IExpression

    public interface IFilterExpression
    extends IExpression, org.osgi.framework.Filter
    An interface that combines the IExpression with the LDAP filter. The string representation is the LDAP filter syntax.
    Since:
    2.0
    • Method Detail

      • match

        boolean match​(java.util.Map<java.lang.String,​? extends java.lang.Object> map)
        Filter using a Map. This Filter is executed using the specified Map's keys and values. The keys are case insensitively matched with this Filter.
        Parameters:
        map - The Map whose keys are used in the match.
        Returns:
        true if the map's keys and values match this filter; false otherwise.
        Throws:
        java.lang.IllegalArgumentException - If map contains case variants of the same key name.
      • matchCase

        boolean matchCase​(java.util.Map<java.lang.String,​? extends java.lang.Object> map)
        Filter with case sensitivity using a Map. This Filter is executed using the specified Map's keys and values. The keys are case sensitively matched with this Filter.
        Parameters:
        map - The Map whose keys are used in the match.
        Returns:
        true if the map's keys and values match this filter; false otherwise.