01: /*
02: * MyGWT Widget Library
03: * Copyright(c) 2007, MyGWT.
04: * licensing@mygwt.net
05: *
06: * http://mygwt.net/license
07: */
08: package net.mygwt.ui.client.data;
09:
10: /**
11: * Interface for objects that can read raw data and produce a set of
12: * <code>Model</code> objects.
13: *
14: * @see Model
15: */
16: public interface DataReader {
17:
18: /**
19: * Reads the raw data and creates a set of Model instances.
20: *
21: * @param data the data to read
22: * @return a load result
23: */
24: public LoadResult read(Object data);
25:
26: }
|