org.eclipse.actf.util.vocab
Class AbstractTerms
java.lang.Object
   org.eclipse.actf.util.vocab.AbstractTerms
org.eclipse.actf.util.vocab.AbstractTerms
- Direct Known Subclasses: 
- DelegationTerms
- public abstract class AbstractTerms 
- extends Object
AbstractTerms is the default term definition. All methods return false.
 Each class extends AbstractTerms should implements methods which used in
 itself.
- See Also:
- Vocabulary
 
 
 
AbstractTerms
public AbstractTerms()
isClickable
public boolean isClickable(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isClickable()
 
isEditable
public boolean isEditable(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isEditable()
 
hasContent
public boolean hasContent(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.hasContent()
 
isEnabled
public boolean isEnabled(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
 
isInputable
public boolean isInputable(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isInputable()
 
isSelectable
public boolean isSelectable(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isSelectable()
 
isButton
public boolean isButton(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isButton()
 
isCheckbox
public boolean isCheckbox(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isCheckbox()
 
isLabel
public boolean isLabel(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isLabel()
 
isLink
public boolean isLink(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isLink()
 
isRadio
public boolean isRadio(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isRadio()
 
isCombobox
public boolean isCombobox(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isCombobox()
 
isSubmit
public boolean isSubmit(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isSubmit()
 
isTextarea
public boolean isTextarea(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isTextarea()
 
isTextbox
public boolean isTextbox(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isTextbox()
 
isPassword
public boolean isPassword(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isPassword()
 
isValidNode
public boolean isValidNode(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isValidNode()
 
isVisibleNode
public boolean isVisibleNode(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isVisibleNode()
 
isEmbeddedObject
public boolean isEmbeddedObject(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isEmbeddedObject()
 
isImage
public boolean isImage(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isImage()
 
isMultilineEdit
public boolean isMultilineEdit(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isMultilineEdit()
 
isReducible
public boolean isReducible(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isReducible()
 
isConnectable
public boolean isConnectable(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isConnectable()
 
find
public boolean find(String str,
                    boolean caseSensitive,
                    IEvalTarget node)
- 
- Parameters:
- str- the str to be searched in the text of the node
- caseSensitive- whether the matching is case sensitive or not
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.find(String, boolean)
 
startsWith
public boolean startsWith(String str,
                          boolean exact,
                          IEvalTarget node)
- 
- Parameters:
- str- the str to be checked in the text of the node
- caseSensitive- whether the matching is case sensitive or not
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.startsWith(String, boolean)
 
isHeading
public boolean isHeading(int level,
                         IEvalTarget node)
- 
- Parameters:
- level- the level of the heading
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isHeading()
 
nodeLocation
public boolean nodeLocation(Node refNode,
                            boolean backward,
                            IEvalTarget node)
- 
- Parameters:
- refNode- the reference node for the evaluation
- backward- the direction of the evaluation
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.nodeLocation(Node, boolean)
 
isHeadingJumpPoint
public boolean isHeadingJumpPoint(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
 
hasReadingContent
public boolean hasReadingContent(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.hasReadingContent()
 
isListItemJumpPoint
public boolean isListItemJumpPoint(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
 
isBlockJumpPointF
public boolean isBlockJumpPointF(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isBlockJumpPointF()
 
isBlockJumpPointB
public boolean isBlockJumpPointB(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isBlockJumpPointB()
 
isFileEdit
public boolean isFileEdit(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isFileEdit()
 
isChecked
public boolean isChecked(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isChecked()
 
isListItem
public boolean isListItem(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isListItem()
 
isListTop
public boolean isListTop(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isListTop()
 
isSelectOption
public boolean isSelectOption(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isSelectOption()
 
isVisitedLink
public boolean isVisitedLink(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isVisitedLink()
 
isMultiSelectable
public boolean isMultiSelectable(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isMultiSelectable()
 
isAccessKey
public boolean isAccessKey(char key,
                           IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isAccessKey(char)
 
isMedia
public boolean isMedia(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isMedia()
 
isFlashTopNode
public boolean isFlashTopNode(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isFlashTopNode()
 
isFlashLastNode
public boolean isFlashLastNode(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isFlashLastNode()
 
isMSAAFlash
public boolean isMSAAFlash(IEvalTarget node)
- 
- Parameters:
- node- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isMSAAFlash()
 
isReachable
public boolean isReachable(IEvalTarget node,
                           Node target)
- 
- Parameters:
- node- the node to be evaluated
- target- the target node for the evaluation of reaching
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isReachable(Node)
 
isAlterable
public boolean isAlterable(IEvalTarget target)
- 
- Parameters:
- target- the node to be evaluated
- Returns:
- whether the node matches the condition
- See Also:
- Vocabulary.isAlterable()