GEF 轉存 XML
因為對GEF編輯器內容進行保存時候,使用XML作為保存中間語言。
編輯完成,CTRL+S 保存文件。
如果未保存之前對GEF 對象進行刪除操作,會拋出異常:
org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
原因:為保存之前xml中節點是空的。
posted @ 2011-11-10 11:34 Evanq 閱讀(476) | 評論 (0) | 編輯 收藏