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.booleanmatches(IComponent<?> component, Object query) Returnstrueif a given component matches a given query,falseotherwise.
-
Method Details
-
matches
Returnstrueif a given component matches a given query,falseotherwise.- Parameters:
component- The tested componentquery- The tested query- Returns:
trueif a given component matches a given query,falseotherwise
-
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
-