Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/ProjectDocument.java
ProjectDocument.java | ||
---|---|---|
49 | 49 |
import java.util.Iterator; |
50 | 50 |
|
51 | 51 |
import com.hardcode.driverManager.DriverLoadException; |
52 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
52 | 53 |
import com.iver.andami.messages.NotificationManager; |
53 | 54 |
import com.iver.andami.ui.mdiManager.IWindow; |
54 |
import com.iver.cit.gvsig.fmap.DriverException; |
|
55 | 55 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
56 | 56 |
import com.iver.cit.gvsig.fmap.layers.CancelationException; |
57 | 57 |
import com.iver.cit.gvsig.fmap.layers.XMLException; |
... | ... | |
224 | 224 |
* @throws DriverIOException |
225 | 225 |
* @throws DriverLoadException |
226 | 226 |
*/ |
227 |
public static ProjectDocument createFromXML03(XMLEntity xml, Project p) throws XMLException, DriverException, DriverIOException{
|
|
227 |
public static ProjectDocument createFromXML03(XMLEntity xml, Project p) throws XMLException{ |
|
228 | 228 |
ProjectDocument pe = null; |
229 | 229 |
|
230 | 230 |
Class clase; |
... | ... | |
259 | 259 |
* @throws OpenException |
260 | 260 |
*/ |
261 | 261 |
public static ProjectDocument createFromXML(XMLEntity xml, Project p) |
262 |
throws XMLException, DriverException, DriverIOException, OpenException {
|
|
262 |
throws XMLException, OpenException { |
|
263 | 263 |
ProjectDocumentFactory pde = null; |
264 | 264 |
try{ |
265 | 265 |
ExtensionPoints extensionPoints = ExtensionPointsSingleton.getInstance(); |
... | ... | |
291 | 291 |
* @throws DriverException |
292 | 292 |
* @throws DriverIOException |
293 | 293 |
* @throws OpenException |
294 |
* @throws ReadDriverException |
|
294 | 295 |
*/ |
295 | 296 |
public void setXMLEntity(XMLEntity xml) |
296 |
throws XMLException, DriverException, DriverIOException, OpenException{
|
|
297 |
throws XMLException, OpenException, ReadDriverException{
|
|
297 | 298 |
|
298 | 299 |
this.setComment(xml.getStringProperty("comment")); |
299 | 300 |
this.setCreationDate(xml.getStringProperty("creationDate")); |
... | ... | |
310 | 311 |
* |
311 | 312 |
* @throws XMLException |
312 | 313 |
* @throws DriverException |
314 |
* @throws ReadDriverException |
|
313 | 315 |
* @throws DriverIOException |
314 | 316 |
*/ |
315 | 317 |
public void setXMLEntity03(XMLEntity xml) |
316 |
throws XMLException, DriverException, DriverIOException{
|
|
318 |
throws XMLException, ReadDriverException{
|
|
317 | 319 |
|
318 | 320 |
this.setComment(xml.getStringProperty("comment")); |
319 | 321 |
this.setCreationDate(xml.getStringProperty("creationDate")); |
... | ... | |
386 | 388 |
|
387 | 389 |
public abstract void exportToXML(XMLEntity root, Project project) throws SaveException ; |
388 | 390 |
|
389 |
public abstract void importFromXML(XMLEntity root, XMLEntity typeRoot,int elementIndex ,Project project, boolean removeDocumentsFromRoot) throws XMLException, DriverException, OpenException;
|
|
391 |
public abstract void importFromXML(XMLEntity root, XMLEntity typeRoot,int elementIndex ,Project project, boolean removeDocumentsFromRoot) throws XMLException, OpenException, ReadDriverException;
|
|
390 | 392 |
|
391 | 393 |
|
392 |
public void importFromXML(XMLEntity root, XMLEntity typeRoot,int elementIndex ,Project project) throws XMLException, DriverException, OpenException{
|
|
394 |
public void importFromXML(XMLEntity root, XMLEntity typeRoot,int elementIndex ,Project project) throws XMLException, OpenException, ReadDriverException{
|
|
393 | 395 |
importFromXML(root,typeRoot, elementIndex,project,false); |
394 | 396 |
} |
395 | 397 |
|
Also available in: Unified diff