public interface ComponentFinder
Matcher
Modifier and Type | Method and Description |
---|---|
Component |
find(Container root,
Matcher m)
Find a Component, using the given Matcher to determine whether a given
component in the hierarchy under the given root is the desired
one.
|
Component |
find(Matcher m)
Find a Component, using the given Matcher to determine whether a given
component in the hierarchy used by this ComponentFinder is the desired
one.
|
Component find(Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
Note that MultipleComponentsFoundException
can only be
thrown if the Matcher
argument is an instance of
MultiMatcher
.
Component find(Container root, Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
Note that MultipleComponentsFoundException
can only be
thrown if the Matcher
argument is an instance of
MultiMatcher
.
Abbot is hosted on