本文展示了在需要处理已解析XML文件中不同元素的文档处理程序代码中,如何通过为每种元素创建单独的类来简化编码。
In this article, I have shown you how document handler code, developed for handling the different elements in a parsed XML file, can be simplified by creating separate classes for each element.
在使用映射绑定的Castor情形中,该时间包含处理映射定义文件,而对于JBind而言,它包含处理文档的Sche ma定义。
In the case of Castor with a mapped binding this includes processing the mapping definition file, and for JBind it includes processing the Schema definition for the document.
服务器来处理该文档(如Word对于。doc文件的处理)或者初始化一些内部组件来分析文档内容并生成和显示该文档。
Doc files or initializing some internal components that analyze the document content and fill the elements of the object model that renders it.
应用推荐