专注服务器研发

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 on 2011-11-10 11:34 Evanq 阅读(469) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: