|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.arquillian.ajocado.waiting.retrievers.AbstractRetriever<String> org.jboss.arquillian.ajocado.waiting.retrievers.TextRetriever
public class TextRetriever
Retrieves the text for given elementLocator
Constructor Summary | |
---|---|
protected |
TextRetriever()
Instantiates a new text retriever. |
Method Summary | |
---|---|
Convertor<String,String> |
getConvertor()
Uses PassOnConvertor to pass the JavaScript result to result value. |
static TextRetriever |
getInstance()
Factory method. |
JavaScript |
getJavaScriptRetrieve()
JavaScript expression to retrieve text value from element given by elementLocator |
TextRetriever |
locator(ElementLocator<?> elementLocator)
Gets a TextRetriever object preset with elementLocator to given value. |
String |
retrieve()
Retrieves the text value from element given by elementLocator |
Methods inherited from class org.jboss.arquillian.ajocado.waiting.retrievers.AbstractRetriever |
---|
getValue, initializeValue, isValueChanged, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.arquillian.ajocado.waiting.retrievers.RetrievedValueHolder |
---|
getValue, initializeValue, setValue |
Constructor Detail |
---|
protected TextRetriever()
Method Detail |
---|
public String retrieve()
retrieve
in interface SeleniumRetriever<String>
retrieve
in class AbstractRetriever<String>
public JavaScript getJavaScriptRetrieve()
getJavaScriptRetrieve
in interface JavaScriptRetriever<String>
public static TextRetriever getInstance()
public TextRetriever locator(ElementLocator<?> elementLocator)
elementLocator
- the element locator to preset
public Convertor<String,String> getConvertor()
PassOnConvertor
to pass the JavaScript result to result value.
getConvertor
in interface JavaScriptRetriever<String>
|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |