This category comprises all function that may be used for primary retrieval elements from the underlying Data Source Model (DSM).
Currently, FlexDoc offers the following different ways for searching/collecting elements in the DSM:
By element IDs
GOMElement.id
for more details) as values of some attributes
of other elements. Further, you can retrieve from the DSM the elements associated
with those IDs using one of the following functions:
findElementById(), findElementsById()
The Location Paths are the expressions similar to XPath. The following function work with them:
findElementByLPath(), findElementsByLPath(), countElementsByLPath()
The Location Rules are special declarations that allow to specify the recurrent interpretation of multiple interacted Location Paths. This makes possible to retrieve from the data source the collections of elements that satisfy very complex and sophisticated criteria. The following function allow using this:
findElementsByLRules(), LocationRule()
findChild(), hasChild(), findChildren(), countChildren()
These functions actually overlaps searching by Location Paths. However, they are implemented in different way and work much faster. This is important, since accessing element's children may be a rather frequent operation.
The element's predecessors are other elements by which the given element
has been reached as it was searched in the data source (DSM).
See descriptions of GOMElement.predecessor
and GOMElement.predecessors
properties
for more details.
This group includes the following functions:
findPredecessorByType(), getPredecessorsUntilType(),
getPredecessorsUntilId()