public class PageFragmentEnricher extends AbstractSearchContextEnricher
FindBy annotation is used) to the fields of the given object.NEW_LINE| Constructor and Description |
|---|
PageFragmentEnricher() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
createPageFragment(Class<T> clazz,
org.openqa.selenium.WebElement root) |
protected <T> List<T> |
createPageFragmentList(Class<T> clazz,
org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By rootBy) |
void |
enrich(org.openqa.selenium.SearchContext searchContext,
Object target) |
protected boolean |
isPageFragmentClass(Class<?> clazz) |
protected void |
setupPageFragment(org.openqa.selenium.SearchContext searchContext,
Object target,
Field field) |
protected void |
setupPageFragmentList(org.openqa.selenium.SearchContext searchContext,
Object target,
Field field) |
enrichRecursively, getActualType, getListType, instantiate, setValuepublic void enrich(org.openqa.selenium.SearchContext searchContext,
Object target)
protected final boolean isPageFragmentClass(Class<?> clazz)
protected final <T> List<T> createPageFragmentList(Class<T> clazz, org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.By rootBy)
public static final <T> T createPageFragment(Class<T> clazz, org.openqa.selenium.WebElement root)
protected final void setupPageFragmentList(org.openqa.selenium.SearchContext searchContext,
Object target,
Field field)
throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.