Package com._1c.g5.aef2.scenes
Interface IComponentSearchProvider.IComponentQueryMatcher
- Enclosing interface:
- IComponentSearchProvider
public static interface IComponentSearchProvider.IComponentQueryMatcher
A contract for objects that can match a component against a specific query and generate queries for components.
-
Method Summary
Modifier and TypeMethodDescriptiongetQuery
(IComponent<?> rootComponent, IComponent<?> component) Returns a query for a given component relative to a given parent component that will be recognized by this matcher.boolean
matches
(IComponent<?> component, Object query) Returnstrue
if a given component matches a given query,false
otherwise.
-
Method Details
-
matches
Returnstrue
if a given component matches a given query,false
otherwise.- Parameters:
component
- The tested componentquery
- The tested query- Returns:
true
if a given component matches a given query,false
otherwise
-
getQuery
Returns a query for a given component relative to a given parent component that will be recognized by this matcher.- Parameters:
rootComponent
- The root component relative to which the query should be obtainedcomponent
- The component for which the query will be obtained- Returns:
- The query
-