Class SmartElementHandler

java.lang.Object
net.thucydides.core.annotations.locators.AbstractSingleItemHandler<WebElementFacade>
net.thucydides.core.annotations.locators.SmartElementHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class SmartElementHandler
extends AbstractSingleItemHandler<WebElementFacade>
  • Field Summary

    Fields inherited from class net.thucydides.core.annotations.locators.AbstractSingleItemHandler

    implementerClass, locator, page
  • Constructor Summary

    Constructors
    Constructor Description
    SmartElementHandler​(java.lang.Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page)  
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.Object newElementInstance()  

    Methods inherited from class net.thucydides.core.annotations.locators.AbstractSingleItemHandler

    invoke

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SmartElementHandler

      public SmartElementHandler​(java.lang.Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page)
  • Method Details

    • newElementInstance

      protected java.lang.Object newElementInstance() throws java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException
      Specified by:
      newElementInstance in class AbstractSingleItemHandler<WebElementFacade>
      Throws:
      java.lang.reflect.InvocationTargetException
      java.lang.NoSuchMethodException
      java.lang.InstantiationException
      java.lang.IllegalAccessException