public class Vocabulary extends Object
IEvalTarget by using
IProposition. IProposition represents a question whether a
IEvalTarget instance is matched with the proposition or not. Actual
meaning is provided by the term implementation which extends
AbstractTerms. Each instance of the IEvalTarget is associated
with a term implementation.
The following is the flow to get the meaning of the IEvalTarget
instance.
1. get anIPropositionfrom Vocabulary. 2. callIProposition.eval(IEvalTarget)method with anIEvalTarget. 3.IProposition.eval(IEvalTarget)method gets the associated term. 4.IProposition.eval(IEvalTarget)method calls the method corresponding to itself with theIEvalTarget. For example,isClickable()callsAbstractTerms.isClickable(IEvalTarget).
| Modifier and Type | Class and Description |
|---|---|
static class |
Vocabulary.FlashMode |
| Constructor and Description |
|---|
Vocabulary() |
public static IProposition or(IProposition... args)
args - the instances of IPropsition to be concatenated by "OR"public static IProposition and(IProposition... args)
args - the instances of IPropsition to be concatenated by "AND"public static IProposition get(String name)
public static IProposition isClickable()
IProposition which evaluates whether a
node is clickable or notpublic static IProposition hasContent()
IProposition which evaluates whether a
node has contentpublic static IProposition isEditable()
IProposition which evaluates whether a
node can be edited.public static IProposition isSelectable()
IProposition which evaluates whether a
node has some options to be selected.public static IProposition isEmbeddedObject()
IProposition which evaluates whether a
node is embedded object.public static IProposition isValidNode()
IProposition which evaluates whether a
node is valid for aiBrowser's tree item.public static IProposition isVisibleNode()
IProposition which evaluates whether a
node is visible or not.public static IProposition isInputable()
IProposition which evaluates whether a
node can be input text.public static IProposition isButton()
IProposition which evaluates whether a
node is button or not.public static IProposition isListItem()
IProposition which evaluates whether a
node is list item or notpublic static IProposition isListTop()
IProposition which evaluates whether a
node is list element or notpublic static IProposition isCheckbox()
IProposition which evaluates whether a
node is check box or notpublic static IProposition isChecked()
IProposition which evaluates whether a
node is checked or notpublic static IProposition isLabel()
IProposition which evaluates whether a
node is label element or notpublic static IProposition isLink()
IProposition which evaluates whether a
node is anchor element or notpublic static IProposition isVisitedLink()
IProposition which evaluates whether a
node is visited link or notpublic static IProposition isRadio()
IProposition which evaluates whether a
node is radio button or notpublic static IProposition isSubmit()
IProposition which evaluates whether a
node is submit button or notpublic static IProposition isFileEdit()
IProposition which evaluates whether a
node is file edit or notpublic static IProposition isCombobox()
IProposition which evaluates whether a
node is combo box or notpublic static IProposition isTextarea()
IProposition which evaluates whether a
node is text area or notpublic static IProposition isTextbox()
IProposition which evaluates whether a
node is text box or notpublic static IProposition isPassword()
IProposition which evaluates whether a
node is password or notpublic static IProposition isSelectOption()
IProposition which evaluates whether a
node is option of select form or notpublic static IProposition isImage()
IProposition which evaluates whether a
node is image element or notpublic static IProposition isMultilineEdit()
IProposition which evaluates whether a
node is text edit control having multiple linespublic static IProposition isReducible()
IProposition which evaluates whether a
node can be omitted to create simplified tree by fennec auto
translatorpublic static IProposition isHeading()
IProposition which evaluates whether a
node is heading element or notpublic static IProposition isHeading1()
IProposition which evaluates whether a
node is heading level 1 element or notpublic static IProposition isHeading2()
IProposition which evaluates whether a
node is heading level 2 element or notpublic static IProposition isHeading3()
IProposition which evaluates whether a
node is heading level 3 element or notpublic static IProposition isHeading4()
IProposition which evaluates whether a
node is heading level 4 element or notpublic static IProposition isHeading5()
IProposition which evaluates whether a
node is heading level 5 element or notpublic static IProposition isHeading6()
IProposition which evaluates whether a
node is heading level 6 element or notpublic static IProposition find(String str, boolean exact)
str - the string to be foundexact - if true then case-sensitiveIProposition which evaluates whether a
node has the stringpublic static IProposition startsWith(String str, boolean exact)
str - the string to be foundexact - if true then case-sensitiveIProposition which evaluates whether a
node has string which starts with strpublic static IProposition nodeLocation(Node refNode, boolean backward)
refNode - the reference node to be comparedbackward - the target node is appeared before the refNode or notIProposition which evaluates whether a
node is appeared before or after the reference nodepublic static IProposition isAccessKey(char key)
key - the character of the access keyIProposition which evaluates whether a
node has the access keypublic static IProposition isConnectable()
IProposition which evaluates whether a
node can be read with next sibling or notpublic static IProposition hasReadingContent()
IProposition which evaluates whether a
node has content can be read.public static IProposition isBlockJumpPointF()
IProposition which evaluates whether a
node is suitable for block jump point in forward directionpublic static IProposition isBlockJumpPointB()
IProposition which evaluates whether a
node is suitable for block jump point in backward directionpublic static IProposition isMultiSelectable()
IProposition which evaluates whether a
node is multi selectable listpublic static IProposition isMedia()
IProposition which evaluates whether a
node is sound or video objectpublic static IProposition isFlashTopNode()
IProposition which evaluates whether a
node is Flash elementpublic static IProposition isFlashLastNode()
IProposition which evaluates whether a
node is the last node of Flash elementpublic static IProposition isMSAAFlash()
IProposition which evaluates whether a
node is Flash element from MSAApublic static IProposition isReachable(Node baseNode)
baseNode - the node to be checked for reachingIProposition which evaluates whether a
node can be read with next element in HTML level.public static IProposition isAlterable()
IProposition which evaluates whether a
node can be added alternative textpublic static Vocabulary.FlashMode getNormalFlashMode()
public static Vocabulary.FlashMode getWindowlessFlashMode()
public static boolean isReadNoAltImage()
public static boolean isReadNullAltImage()
public static boolean isReadNoAltImageLink()
public static boolean isReadNullAltImageLink()
public static boolean isSkipIconLink()