public class PageFragmentEnricher extends AbstractSearchContextEnricher
FindBy
annotation is used) to the fields of the given object.NEW_LINE
Constructor and Description |
---|
PageFragmentEnricher() |
PageFragmentEnricher(org.jboss.arquillian.core.api.Instance<GrapheneConfiguration> configuration) |
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) |
int |
getPrecedence() |
protected boolean |
isPageFragmentClass(Class<?> clazz,
Object target) |
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, getSortedSearchContextEnrichers, instantiate, setValue
public PageFragmentEnricher()
public PageFragmentEnricher(org.jboss.arquillian.core.api.Instance<GrapheneConfiguration> configuration)
public void enrich(org.openqa.selenium.SearchContext searchContext, Object target)
protected final <T> List<T> createPageFragmentList(Class<T> clazz, org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.By rootBy)
public static <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
ClassNotFoundException
protected final void setupPageFragment(org.openqa.selenium.SearchContext searchContext, Object target, Field field)
public int getPrecedence()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.