Class WidgetListInterceptor
- java.lang.Object
-
- io.appium.java_client.pagefactory.interceptors.InterceptorOfAListOfElements
-
- io.appium.java_client.pagefactory.WidgetListInterceptor
-
- All Implemented Interfaces:
MethodCallListener
public class WidgetListInterceptor extends InterceptorOfAListOfElements
-
-
Field Summary
-
Fields inherited from class io.appium.java_client.pagefactory.interceptors.InterceptorOfAListOfElements
locator
-
-
Constructor Summary
Constructors Constructor Description WidgetListInterceptor(CacheableLocator locator, java.lang.ref.WeakReference<org.openqa.selenium.WebDriver> driver, java.util.Map<ContentType,java.lang.reflect.Constructor<? extends Widget>> instantiationMap, java.lang.Class<? extends Widget> declaredType, java.time.Duration duration)
Proxy interceptor class for lists of widgets.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getObject(java.util.List<org.openqa.selenium.WebElement> elements, java.lang.reflect.Method method, java.lang.Object[] args)
-
Methods inherited from class io.appium.java_client.pagefactory.interceptors.InterceptorOfAListOfElements
call
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.appium.java_client.proxy.MethodCallListener
afterCall, beforeCall, onError
-
-
-
-
Constructor Detail
-
WidgetListInterceptor
public WidgetListInterceptor(@Nullable CacheableLocator locator, java.lang.ref.WeakReference<org.openqa.selenium.WebDriver> driver, java.util.Map<ContentType,java.lang.reflect.Constructor<? extends Widget>> instantiationMap, java.lang.Class<? extends Widget> declaredType, java.time.Duration duration)
Proxy interceptor class for lists of widgets.
-
-
Method Detail
-
getObject
protected java.lang.Object getObject(java.util.List<org.openqa.selenium.WebElement> elements, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
- Specified by:
getObject
in classInterceptorOfAListOfElements
- Throws:
java.lang.Throwable
-
-