public enum EFilterMatchingStrategy extends Enum<EFilterMatchingStrategy> implements IHasID<String>
IFilter implementations based on
AbstractFilter.| Enum Constant and Description |
|---|
MATCH_ALL
Math both this filter and an eventually present nested filter.
|
MATCH_ANY
Match either this filter or an eventually present nested filter.
|
| Modifier and Type | Method and Description |
|---|---|
static EFilterMatchingStrategy |
getFromIDOrNull(String sID) |
String |
getID()
Get the unique ID of this object.
|
static EFilterMatchingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EFilterMatchingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EFilterMatchingStrategy MATCH_ANY
public static final EFilterMatchingStrategy MATCH_ALL
public static EFilterMatchingStrategy[] values()
for (EFilterMatchingStrategy c : EFilterMatchingStrategy.values()) System.out.println(c);
public static EFilterMatchingStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull @Nonempty public String getID()
IHasIDString than the
returned value must match an XML NMToken expression (so e.g. no ':' in the
ID)!@Nullable public static EFilterMatchingStrategy getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2016 Philip Helger. All rights reserved.