摘要
基于XML的界面管理技术,包括界面配置、界面动态生成和界面定制三部分。通过DOMAPI读取XML配置文件的表示层信息,自定义数据存取类读取数据库中的数据层信息,在运行时循环生成界面元素,动态生成界面。界面和菜单功能的重新配置,通过修改MainUI.xml文件实现。界面内容的更改,通过修改XML节点和属性值等界面元素实现。并用某军事项目管理信息系统对其进行了验证。
The interface management technology based on XML includes interface configuration, interface dynamic creation and interface customization. The expression layer information in XML configuration files was read through DOM API; and the data layer information in database was read by self-defined data access class. Interface elements were created in run-time and therefore a dynamic interface was created. The reconfiguration of interface and menu function could be achieved by modifying the MainUl.xml file. And the modification of interface content could be achieved by modifying the interface elements, such as XML node and attribute values. This technology was testified in a certain military project management information system.
出处
《兵工自动化》
2006年第2期89-90,共2页
Ordnance Industry Automation
关键词
XML
界面管理
界面配置
界面动态生成
界面定制
XML
Interface management
Interface configuration
Interface dynamic creation
Interface customization