Graphene Implementation 1.0.0.CR3

org.jboss.arquillian.ajocado.waiting.ajax
Interface JavaScriptRetriever<T>

Type Parameters:
T - object, which should be from string representation inside JavaScript converted to object representation
All Superinterfaces:
RetrievedValueHolder<T>
All Known Subinterfaces:
Retriever<T>
All Known Implementing Classes:
AttributeRetriever, TextRetriever

public interface JavaScriptRetriever<T>
extends RetrievedValueHolder<T>

JavaScript code obtaining the value convertable to T type.

Version:
$Revision$
Author:
Lukas Fryc

Method Summary
 Convertor<T,String> getConvertor()
          Gets the convertor for converting JavaScript representation to Object representation and vice versa.
 JavaScript getJavaScriptRetrieve()
          Gets the code for retrieving value on JavaScript side.
 
Methods inherited from interface org.jboss.arquillian.ajocado.waiting.retrievers.RetrievedValueHolder
getValue, initializeValue, setValue
 

Method Detail

getJavaScriptRetrieve

JavaScript getJavaScriptRetrieve()
Gets the code for retrieving value on JavaScript side.

Returns:
the JavaScript

getConvertor

Convertor<T,String> getConvertor()
Gets the convertor for converting JavaScript representation to Object representation and vice versa.

Returns:
the convertor for converting JavaScript representation to Object representation and vice versa.

Graphene Implementation 1.0.0.CR3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.