public abstract class InterceptorOfAListOfElements
extends java.lang.Object
implements net.sf.cglib.proxy.MethodInterceptor
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.support.pagefactory.ElementLocator |
locator |
Constructor and Description |
---|
InterceptorOfAListOfElements(org.openqa.selenium.support.pagefactory.ElementLocator locator) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Object |
getObject(java.util.List<WebElement> elements,
java.lang.reflect.Method method,
java.lang.Object[] args) |
java.lang.Object |
intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
Look at
MethodInterceptor.intercept(Object, Method, Object[], MethodProxy) . |
public InterceptorOfAListOfElements(org.openqa.selenium.support.pagefactory.ElementLocator locator)
protected abstract java.lang.Object getObject(java.util.List<WebElement> elements, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.Throwable
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.Throwable
public java.lang.Object intercept(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws java.lang.Throwable
MethodInterceptor.intercept(Object, Method, Object[], MethodProxy)
.intercept
in interface net.sf.cglib.proxy.MethodInterceptor
java.lang.Throwable