Class InterceptorOfAListOfElements

  • All Implemented Interfaces:
    net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor

    public abstract class InterceptorOfAListOfElements
    extends java.lang.Object
    implements net.sf.cglib.proxy.MethodInterceptor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.openqa.selenium.support.pagefactory.ElementLocator locator  
    • Constructor Summary

      Constructors 
      Constructor Description
      InterceptorOfAListOfElements​(org.openqa.selenium.support.pagefactory.ElementLocator locator)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.lang.Object getObject​(java.util.List<org.openqa.selenium.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).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • locator

        protected final org.openqa.selenium.support.pagefactory.ElementLocator locator
    • Constructor Detail

      • InterceptorOfAListOfElements

        public InterceptorOfAListOfElements​(org.openqa.selenium.support.pagefactory.ElementLocator locator)
    • Method Detail

      • getObject

        protected abstract java.lang.Object getObject​(java.util.List<org.openqa.selenium.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
        Throws:
        java.lang.reflect.InvocationTargetException
        java.lang.IllegalAccessException
        java.lang.InstantiationException
        java.lang.Throwable
      • intercept

        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
        Look at MethodInterceptor.intercept(Object, Method, Object[], MethodProxy).
        Specified by:
        intercept in interface net.sf.cglib.proxy.MethodInterceptor
        Throws:
        java.lang.Throwable