com.sencha.gxt.data.shared.loader.DataReader Maven / Gradle / Ivy
/**
* Sencha GXT 3.1.0-beta - Sencha for GWT
* Copyright(c) 2007-2014, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.sencha.gxt.data.shared.loader;
/**
* Interface for objects that translate raw data into a given type. For example,
* an XML string being returned from the server could be used to create model
* instances.
*
* @param the return data type
* @param the incoming data type to be read
*/
public interface DataReader {
/**
* Reads the raw data and returns the typed data.
*
* @param loadConfig the load config information
* @param data the data to read
* @return the processed and / or converted data
*/
public M read(Object loadConfig, D data);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy