›› 2015, Vol. 28 ›› Issue (2): 95-.

• 论文 • 上一篇    下一篇

基于XML的代码自动生成工具

张琼,黄翩   

  1. (西安电子科技大学 电子信息攻防对抗与仿真重点实验室,陕西 西安 710071)
  • 出版日期:2015-02-15 发布日期:2015-02-16
  • 作者简介:张琼(1990—),女,硕士研究生。研究方向:雷达系统建模与仿真。E-mail:958380639@qq.com。黄翩(1990—),女,硕士研究生。研究方向:雷达信号环境模拟器。

Automatic Code Generation Tool Based on XML

ZHANG Qiong,HUANG Pian   

  1. (Ministry of Education Key Laboratory of Electronic Information Countermeasure and Simulation,Xidian University,Xi'an 710071,China)
  • Online:2015-02-15 Published:2015-02-16

摘要:

代码自动生成作为一种程序自动化技术,可有效解决现代大规模软件开发过程中遇到的重复编写代码问题,提高了软件开发的效率和质量。文中介绍了一种基于XML的代码生成技术,并以XML转换技术为基础,给出了XML的代码生成工具的结构设计,及其实现框架和关键步骤。以该工具在雷达建模仿真过程中的应用实例,验证了基于XML的代码生成工具可减少重复代码编写,降低因手工编写带来的编码错误,从而提高了代码的编写质量及效率,使大规模软件开发和维护更简便。

关键词: XML, 代码生成器, 程序自动化

Abstract:

As a process automation technology,automatic code generation can effectively solve the repeated coding in modern large-scale software development,thus improving the efficiency and quality of software development.This paper introduces a code generation technology based on XML conversion technology,gives the structure design,the framework and the key steps of the XML code generation tool.The application of this tool in radar modeling and simulation verifies that the XML code generation tool can reduce repeated coding and manual coding errors,thus improving the code quality and efficiency to realize easier development and maintenance of large scale software.

Key words: XML;code generator;automatic software programming

中图分类号: 

  • TP335