节点文献
基于UML建模XML模式
Model XML Schema based on UML
【摘要】 为快速理解XML Schema文档结构,研究使用UML建模XML Schema文档的方法。分析已有研究的局限性,基于XML Schema定义的元素及元素间的嵌套关系的定义,提出一种基于元素的使用UML建模XML Schema文档的方法,定义将XML Schema文档转换为UML类图的转换规则。该建模方法可以为XML Schema文档包含的任何元素建立UML类并用UML模型中定义的关系表示元素间的嵌套关系,保证了XML Schema文档的UML模型表示的完整性。以实例验证了该方法的可行性。
【Abstract】 To understand the structure of XML Schema document quickly,methods to model XML Schema document with UML were researched and limitations of current methods were analyzed.Based on definitions of elements and nested relation between elements defined in XML Schema,a method to model XML Schema with UML that based on elements was proposed.A UML class for each of the elements contained in a XML Schema document was created and nested relation between elements was described with corresponding relation defined in UML,which made sure the integrality of the UML model transformed from the XML Schema document.An example was given to verify the feasibility of the proposed method.
【Key words】 UML; XML Schema; transformation; element; structure; class;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2019年01期
- 【分类号】TP311.5
- 【被引频次】8
- 【下载频次】319