org.fluentlenium.core.filter.matcher
Enum MatcherType
java.lang.Object
java.lang.Enum<MatcherType>
org.fluentlenium.core.filter.matcher.MatcherType
- All Implemented Interfaces:
- Serializable, Comparable<MatcherType>
public enum MatcherType
- extends Enum<MatcherType>
Different fluentlenium.integration. actually supported by the framework.
PreFilter are fluentlenium.integration. than are supported by WebDriver as CSS Selector
PostFilter are used after the webdriver selection to fluentlenium.integration. the collection
CONTAINS
public static final MatcherType CONTAINS
START_WITH
public static final MatcherType START_WITH
END_WITH
public static final MatcherType END_WITH
EQUAL
public static final MatcherType EQUAL
NOT_CONTAINS
public static final MatcherType NOT_CONTAINS
NOT_START_WITH
public static final MatcherType NOT_START_WITH
NOT_END_WITH
public static final MatcherType NOT_END_WITH
values
public static 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 (MatcherType c : 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 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 name
NullPointerException - if the argument is null
getCssRepresentations
public String getCssRepresentations()
- Return the css representations of the matcher
- Returns:
Copyright © 2012 AConsulting. All Rights Reserved.