Package com._1c.g5.aef2.scenes
Class ComponentSearch
- java.lang.Object
-
- com._1c.g5.aef2.scenes.ComponentSearch
-
public class ComponentSearch extends Object
A collection of component search-related providers, matchers and interfaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComponentSearch.ComponentPredicate
A component predicate that can be used infirstChildByPredicate
search provider.static interface
ComponentSearch.IIdentifierHost
An entity capable of returning components by identifiers and providing identifiers for components.
-
Field Summary
Fields Modifier and Type Field Description static ComponentSearch.ComponentPredicate
ANY_ATTRIBUTE_COMPONENT
A component predicate for components with IAttribute-type models.static IComponentSearchProvider
FIRST_CHILD_BY_PREDICATE
A search provider allowing to search for the first component satisfying a predicate.static IComponentSearchProvider
ID_SEARCH_PROVIDER
A search provider for queries which are interpreted as identifiers for components implementingComponentSearch.IIdentifierHost
interface.
-
Constructor Summary
Constructors Constructor Description ComponentSearch()
-
-
-
Field Detail
-
ID_SEARCH_PROVIDER
public static final IComponentSearchProvider ID_SEARCH_PROVIDER
A search provider for queries which are interpreted as identifiers for components implementingComponentSearch.IIdentifierHost
interface.Two types of queries are supported:
- Array of objects - interprets the array as the id path, i. e. will take the first id from the array and find the component defined by this id; then takes the second id and searches in the newly found component, and so on
- Non-array object - interpreted as an array consisting of this single object, see above
-
ANY_ATTRIBUTE_COMPONENT
public static final ComponentSearch.ComponentPredicate ANY_ATTRIBUTE_COMPONENT
A component predicate for components with IAttribute-type models.
-
FIRST_CHILD_BY_PREDICATE
public static final IComponentSearchProvider FIRST_CHILD_BY_PREDICATE
A search provider allowing to search for the first component satisfying a predicate.
-
-