public class BasicFinder extends Object implements ComponentFinder
Constructor and Description |
---|
BasicFinder() |
BasicFinder(Hierarchy h) |
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.
|
protected Component |
find(Hierarchy h,
Matcher m) |
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.
|
protected void |
findMatches(Hierarchy h,
Matcher m,
Component c,
Set found) |
static ComponentFinder |
getDefault() |
protected Hierarchy |
getHierarchy() |
public BasicFinder()
public BasicFinder(Hierarchy h)
public static ComponentFinder getDefault()
protected Hierarchy getHierarchy()
public Component find(Container root, Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
find
in interface ComponentFinder
ComponentNotFoundException
MultipleComponentsFoundException
public Component find(Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
find
in interface ComponentFinder
ComponentNotFoundException
MultipleComponentsFoundException
protected Component find(Hierarchy h, Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
Abbot is hosted on