public abstract class ComposableBase extends java.lang.Object implements ComposableMatcher
Modifier and Type | Class and Description |
---|---|
protected static class |
ComposableBase.BinaryMatcher |
protected static class |
ComposableBase.Identity |
protected static class |
ComposableBase.Inverse |
Modifier and Type | Field and Description |
---|---|
static ComposableMatcher |
FALSE |
static ComposableMatcher |
TRUE |
Constructor and Description |
---|
ComposableBase() |
Modifier and Type | Method and Description |
---|---|
ComposableMatcher |
and(abbot.finder.Matcher other) |
static ComposableMatcher |
composable(abbot.finder.Matcher m) |
abbot.finder.Matcher[] |
getChildMatchers()
Return an array of all Matchers that are immediate descendants of this one, or an empty array if
there are none.
|
protected static ComposableMatcher |
identity(abbot.finder.Matcher operand) |
ComposableMatcher |
inverse() |
static ComposableMatcher |
inverse(abbot.finder.Matcher operand) |
ComposableMatcher |
or(abbot.finder.Matcher other) |
abbot.finder.Matcher |
self() |
ComposableMatcher |
simplify() |
protected static ComposableMatcher |
simplify(abbot.finder.Matcher m) |
java.lang.String |
toString() |
ComposableMatcher |
withText(java.lang.String text) |
ComposableMatcher |
withText(java.lang.String text,
boolean searchCaption,
boolean searchText,
boolean searchName) |
ComposableMatcher |
withText(java.lang.String text,
int searchScope) |
ComposableMatcher |
xor(abbot.finder.Matcher other) |
public static final ComposableMatcher FALSE
public static final ComposableMatcher TRUE
public ComposableMatcher and(abbot.finder.Matcher other)
and
in interface ComposableMatcher
public static ComposableMatcher composable(abbot.finder.Matcher m)
public abbot.finder.Matcher[] getChildMatchers()
ComposableMatcher
getChildMatchers
in interface ComposableMatcher
protected static ComposableMatcher identity(abbot.finder.Matcher operand)
public ComposableMatcher inverse()
inverse
in interface ComposableMatcher
public static ComposableMatcher inverse(abbot.finder.Matcher operand)
public ComposableMatcher or(abbot.finder.Matcher other)
or
in interface ComposableMatcher
public abbot.finder.Matcher self()
self
in interface ComposableMatcher
public ComposableMatcher simplify()
simplify
in interface ComposableMatcher
protected static ComposableMatcher simplify(abbot.finder.Matcher m)
public java.lang.String toString()
toString
in class java.lang.Object
public ComposableMatcher withText(java.lang.String text)
public ComposableMatcher withText(java.lang.String text, boolean searchCaption, boolean searchText, boolean searchName)
public ComposableMatcher withText(java.lang.String text, int searchScope)
public ComposableMatcher xor(abbot.finder.Matcher other)
xor
in interface ComposableMatcher