|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentFinder
Interface to support looking up existing components based on a number of different criteria.
Matcher
Method Summary | |
---|---|
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. |
Method Detail |
---|
Component find(Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
Note that MultipleComponentsFoundException
can only be
thrown if the Matcher
argument is an instance of
MultiMatcher
.
ComponentNotFoundException
MultipleComponentsFoundException
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
.
ComponentNotFoundException
MultipleComponentsFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |