Taming XML:: Objects first, then markup

被引:1
作者
Bone, Matt [1 ]
Nabicht, Peter F. [1 ]
Laufer, Konstantin [1 ]
Thiruvathukal, George K. [1 ]
机构
[1] Loyola Univ, Dept Comp Sci, Emerging Technol Lab, Chicago, IL 60640 USA
来源
2008 IEEE INTERNATIONAL CONFERENCE ON ELECTRO/INFORMATION TECHNOLOGY | 2008年
关键词
D O I
10.1109/EIT.2008.4554352
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Processing markup in object-oriented languages often requires the programmer to focus on the objects generating the markup rather than the more pertinent domain objects. The BetterXML framework aims to improve this situation by allowing the programmer to develop a domain-specific object model as usual and later bind this model to preexisting or newly generated markup. To this end, the framework provides two types of object trees, XElement and NaturalXML, for representing XML documents. XElement goes beyond DOM-like automatic parsing of XML by supporting the custom mapping of elements to domain objects; NaturalXML allows the mapping of existing domain objects to XML elements using class metadata. Both types of object trees can be inflated and deflated by means of a common intermediate representation in the form of an event stream. Finally, the framework includes the XML Intermediate Representation (XIR), a lossless record-oriented representation of XML documents for efficient streaming and other types of data exchange.
引用
收藏
页码:488 / 493
页数:6
相关论文
共 14 条
  • [1] [Anonymous], 2006, EXTENSIBLE MARKUP LA, VSecond
  • [2] [Anonymous], 2001, RELAX NG SPECIFICATI
  • [3] Ben-Kiki Oren, 2009, Working Draft 2008, V2009, P11
  • [4] Crockford D., 2006, RFC 4627
  • [5] GAMMA E, 1995, DESIGN PATTERS ELEME
  • [6] HAMILTON G, 1997, JAVABEANS
  • [7] *ISO, 1986, 8879 ISO
  • [8] McGrath S., 2000, Pyxie
  • [9] Ort E., 2003, JAVA ARCHITECTURE XM
  • [10] Natural XML for data binding, processing, and persistence
    Thiruvathukal, GK
    Läufer, K
    [J]. COMPUTING IN SCIENCE & ENGINEERING, 2004, 6 (02) : 86 - 92