Package | Description |
---|---|
org.safs.selenium.webdriver | |
org.safs.selenium.webdriver.lib.model |
Modifier and Type | Method and Description |
---|---|
static void |
CFComponent.captureHierarchicalData(java.util.Collection<java.lang.String> contents,
HierarchicalElement[] nodes,
java.lang.String indentMark,
int level)
Caputre the content of hierarchical structure like tree or menu.
|
Modifier and Type | Class and Description |
---|---|
class |
MenuItem
History:
Jun 23, 2014 (Lei Wang) Initial release. |
class |
TreeNode
History:
May 30, 2014 (Lei Wang) Initial release. |
Modifier and Type | Field and Description |
---|---|
protected HierarchicalElement[] |
HierarchicalElement.children |
protected HierarchicalElement |
HierarchicalElement.parent |
Modifier and Type | Method and Description |
---|---|
protected HierarchicalElement |
AbstractHierarchicalSelectable.convertTo(Element element)
Cast the an Element object to HierarchicalElement.
Subclass needs to override this method to cast it to its own type. |
HierarchicalElement[] |
HierarchicalElement.getChildren() |
HierarchicalElement[] |
IHierarchicalSelectable.getContent() |
HierarchicalElement |
AbstractHierarchicalSelectable.getMatchedElement(TextMatchingCriterion criteria)
According to the "hierarchical path" to get a Element object.
The sub-class needs to provide an appropriate implementation of method AbstractSelectable.getContent() , on whichthis method depends. |
(package private) HierarchicalElement |
AbstractHierarchicalSelectable.getMatchedNode(HierarchicalElement[] hierarchicalStructure,
java.lang.String[] pathNodes,
boolean partialMatch,
int[] expectedMatchTimes)
According to a pathNodes (an array of path) and expectedMatchTimes (an array of int), find the matched node in a hierarchical structure.
If at certain level, the expectedMatchedTime is not satisfied, then the search will fail and just return a null. |
(package private) HierarchicalElement |
AbstractHierarchicalSelectable.getMatchedNode(HierarchicalElement[] hierarchicalStructure,
java.lang.String[] pathNodes,
boolean partialMatch,
MutableInteger matchedTimes,
int expectedMatchTimes)
According to a pathNodes (an array of path) and expectedMatchTimes, find the Nth-matched node in a hierarchical structure.
|
HierarchicalElement |
HierarchicalElement.getParent() |
protected HierarchicalElement[] |
HierarchicalElement.newArray(int length)
Create an array of HierarchicalElement.
Sub class MUST OVERRIDE this method to provide its own array. |
protected HierarchicalElement |
HierarchicalElement.newInstance(java.lang.Object ojbect)
Create an instance of HierarchicalElement.
Sub class MUST OVERRIDE this method to provide its own instance. |
Modifier and Type | Method and Description |
---|---|
void |
HierarchicalElement.addChild(HierarchicalElement child) |
void |
HierarchicalElement.addChild(HierarchicalElement[] childs) |
(package private) HierarchicalElement |
AbstractHierarchicalSelectable.getMatchedNode(HierarchicalElement[] hierarchicalStructure,
java.lang.String[] pathNodes,
boolean partialMatch,
int[] expectedMatchTimes)
According to a pathNodes (an array of path) and expectedMatchTimes (an array of int), find the matched node in a hierarchical structure.
If at certain level, the expectedMatchedTime is not satisfied, then the search will fail and just return a null. |
(package private) HierarchicalElement |
AbstractHierarchicalSelectable.getMatchedNode(HierarchicalElement[] hierarchicalStructure,
java.lang.String[] pathNodes,
boolean partialMatch,
MutableInteger matchedTimes,
int expectedMatchTimes)
According to a pathNodes (an array of path) and expectedMatchTimes, find the Nth-matched node in a hierarchical structure.
|
void |
TreeNode.setChildren(HierarchicalElement[] children) |
void |
MenuItem.setChildren(HierarchicalElement[] children) |
void |
HierarchicalElement.setChildren(HierarchicalElement[] children) |
void |
HierarchicalElement.setParent(HierarchicalElement parent) |
Copyright © SAS Institute. All Rights Reserved.