Package com.deque.axe.android
Class AxeRuleViewHierarchy
- java.lang.Object
-
- com.deque.axe.android.AxeRule
-
- com.deque.axe.android.AxeRuleViewHierarchy
-
- Direct Known Subclasses:
ActiveView,EditTextValue,ImageViewName,InformativeView,ModifiableViewName
public abstract class AxeRuleViewHierarchy extends AxeRule
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAxeRuleViewHierarchy(java.lang.String standard, int impact, java.lang.String summary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectProps(com.deque.axe.android.AxeView axeView, com.deque.axe.android.wrappers.AxeProps axeProps)Collects Props for each view.booleanisApplicable(com.deque.axe.android.wrappers.AxeProps axeProps)java.lang.StringrunRule(com.deque.axe.android.wrappers.AxeProps axeProps)returns AxeStatus.IGNORED if the view is ignored.voidsetup(com.deque.axe.android.AxeContext axeContext, com.deque.axe.android.wrappers.AxeProps axeProps)voidtearDown()
-
-
-
Method Detail
-
setup
public void setup(com.deque.axe.android.AxeContext axeContext, com.deque.axe.android.wrappers.AxeProps axeProps)
-
collectProps
@CallSuper public void collectProps(com.deque.axe.android.AxeView axeView, com.deque.axe.android.wrappers.AxeProps axeProps)Collects Props for each view.- Parameters:
axeView- to collect props from.axeProps- to which props will be stored in.
-
isApplicable
@CallSuper public boolean isApplicable(com.deque.axe.android.wrappers.AxeProps axeProps)
-
runRule
@CallSuper public java.lang.String runRule(com.deque.axe.android.wrappers.AxeProps axeProps)
returns AxeStatus.IGNORED if the view is ignored.- Parameters:
axeProps- the props.- Returns:
- IGNORED or empty string.
-
tearDown
public void tearDown()
-
-