Package org.forgerock.opendj.ldap
Enum Matcher.MatcherType
- java.lang.Object
-
- java.lang.Enum<Matcher.MatcherType>
-
- org.forgerock.opendj.ldap.Matcher.MatcherType
-
- All Implemented Interfaces:
Serializable
,Comparable<Matcher.MatcherType>
- Enclosing class:
- Matcher
public static enum Matcher.MatcherType extends Enum<Matcher.MatcherType>
The types of compiled matcher. These are identical toFilterType
, except that filters that cannot be compiled, including unrecognized filters, are assigned the typeUNDEFINED
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
The matcher type for AND filters.APPROXIMATE
The matcher type for approximate filters.EQUALITY
The matcher type for equality filters.EXTENSIBLE
The matcher type for extensible matching filters.GREATER_OR_EQUAL
The matcher type for greater or equal filters.LESS_OR_EQUAL
The matcher type for less or equal filters.NOT
The matcher type for NOT filters.OR
The matcher type for OR filters.PRESENT
The matcher type for presence filters.SUBSTRINGS
The matcher type for substring filters.UNDEFINED
The matcher type for filters that could not be compiled (will always yield UNDEFINED).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Matcher.MatcherType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Matcher.MatcherType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALITY
public static final Matcher.MatcherType EQUALITY
The matcher type for equality filters.
-
APPROXIMATE
public static final Matcher.MatcherType APPROXIMATE
The matcher type for approximate filters.
-
GREATER_OR_EQUAL
public static final Matcher.MatcherType GREATER_OR_EQUAL
The matcher type for greater or equal filters.
-
LESS_OR_EQUAL
public static final Matcher.MatcherType LESS_OR_EQUAL
The matcher type for less or equal filters.
-
PRESENT
public static final Matcher.MatcherType PRESENT
The matcher type for presence filters.
-
SUBSTRINGS
public static final Matcher.MatcherType SUBSTRINGS
The matcher type for substring filters.
-
EXTENSIBLE
public static final Matcher.MatcherType EXTENSIBLE
The matcher type for extensible matching filters.
-
AND
public static final Matcher.MatcherType AND
The matcher type for AND filters.
-
OR
public static final Matcher.MatcherType OR
The matcher type for OR filters.
-
NOT
public static final Matcher.MatcherType NOT
The matcher type for NOT filters.
-
UNDEFINED
public static final Matcher.MatcherType UNDEFINED
The matcher type for filters that could not be compiled (will always yield UNDEFINED).
-
-
Method Detail
-
values
public static Matcher.MatcherType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Matcher.MatcherType c : Matcher.MatcherType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Matcher.MatcherType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-