Java绑定XML架构的技术内涵  被引量:5

Technological Meaning of Java Architecture for XML Binding

在线阅读下载全文

作  者:王岳昭[1] 冒东奎[2] 

机构地区:[1]宁夏大学化学化工学院 [2]西北第二民族学院计算机系,银川750021

出  处:《北京工业大学学报》2006年第3期263-268,共6页Journal of Beijing University of Technology

摘  要:为了揭示Java绑定可扩展标记语言(XML)架构的技术内涵,分析了该应用编程接口(API)的开发背景,揭示了它的技术本质,论述了它的工作机理、核心组件、绑定过程的关键操作,即:用绑定编译器绑定XML文件的模式,生成模式导出类和接口,并将它们编译;解组过程将模式导出的Java类实例化成内容对象,表示XML 文件的内容和结构,让应用程序可直接访问;在生成内容树之前,解组过程可有选择地验证XML文件;借助绑定编译器生成的接口,客户应用可修改内容树所表示的XML数据;所处理的内容树可被编组成1种或多种XML 输出文件.给出了1个典型用例,并指出该API在开发XML Web服务和网络应用方面有很好的应用前景.For sake of revealing the technological meaning of Java Architecture for XML binding (JAXB), this article analyzed the development background of the API to unveil its technological essentials, then discussed the mechanism, core components and key manipulations for binding procedure, i.e. to bind Schema of XML with binding compiler to generate classes and interfaces derived from Schema for compiling; to instantiate the classes derived from the Schema into content objects to express the content and structure of XML files for direct access by application program during the unmarshalling procedure; before generating a content tree, the unmarshalling procedure can optionally validate XML files; by means of interfaces generated from the compiler, client application can modify XML data expressed by the content tree; the treated content tree can be marshaled into one or more kinds of XML output files. Finally the author pointed out a considerable application perspective of the API in development of Web services and network applications by a typical instance.

关 键 词:JAVA编程语言 可扩展标记语言 接口 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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