基于Castor的数据绑定技术  被引量:1

Application of data binding technology based on castor

在线阅读下载全文

作  者:焦春芳[1] 罗晓沛[1] 

机构地区:[1]中国科学院研究生院,北京100049

出  处:《计算机工程与设计》2008年第17期4550-4553,共4页Computer Engineering and Design

摘  要:Castor数据绑定技术实现了将XML文件直接映射为Java类、通过Java类的对象实例操作XML数据的转换,利用这种框架,同时结合供应商跟产品的例子,对此技术进行了研究。给出了完整的Schema文档以及部分代表性的实现源码,并作了相应配置的说明,以Altova的XMLSpy为辅助工具、Eclipse为开发工具,分析了这种框架的应用,论证了使用此框架在Java与XML这两种技术间的转化,方便了处理。Castor data banding technology can directly map XML file to Java class, then manipulate XML data through Java instances. This transforming technology with an example of supplier and products is studied. A completed schema document and part of its representative source and relative configuration are listed. With XMLSpy of Altova as assistant tool and open source IDE Eclipse as development tool, the framework' s application is analyzed, and the conversion between Java and XML is demonstrated, which makes processing easier.

关 键 词:CASTOR XML数据绑定 映射 应用框架 对象序列化 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象