Revision 23178 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/DataManager.java
DataManager.java | ||
---|---|---|
12 | 12 |
|
13 | 13 |
import com.iver.utiles.NotExistInXMLEntity; |
14 | 14 |
import com.iver.utiles.XMLEntity; |
15 |
import com.iver.utiles.XMLException; |
|
15 | 16 |
|
16 | 17 |
|
17 | 18 |
public class DataManager { |
... | ... | |
137 | 138 |
|
138 | 139 |
try { |
139 | 140 |
DataStore dataStore = (DataStore) registerInfo.clazz.newInstance(); |
140 |
dataStore.init(xmlEntity);
|
|
141 |
dataStore.setXMLEntity(xmlEntity);
|
|
141 | 142 |
return dataStore; |
142 | 143 |
} catch (InstantiationException e) { |
143 | 144 |
throw new InitializeException(name, e); |
144 | 145 |
} catch (IllegalAccessException e) { |
145 | 146 |
throw new InitializeException(name, e); |
147 |
} catch (XMLException e) { |
|
148 |
throw new InitializeException(name, e); |
|
146 | 149 |
} |
147 | 150 |
} |
148 | 151 |
|
Also available in: Unified diff