发明名称 Reusable and late addition enabled XML data binding
摘要 Various embodiments of systems and methods for reusable and late addition enabled XML data binding are described herein. A computer receives an element class that is created for a non-atomic class. The element class comprises a first constructor, a decomposer that returns data extracted from an object for an entity to aid in serialization, and a composer that extracts value of the entity and creates a new instance of the non-atomic class using the extracted value to aid in de-serialization. The object is of type non-atomic class. The computer also receives an attribute class that is created for an atomic class to which the non-atomic class refers to. The attribute class comprises a second constructor, a serializer, and a de-serializer. The computer then generates an XML document using the element class and the attribute class.
申请公布号 US9430253(B2) 申请公布日期 2016.08.30
申请号 US201113244646 申请日期 2011.09.25
申请人 SAP SE 发明人 Debusmann Ralph
分类号 G06F9/445;G06F17/30;G06F17/22 主分类号 G06F9/445
代理机构 代理人
主权项 1. A computer-implemented method for Extensible Markup Language (XML) data binding, the method comprising: a computer receiving an element class that is created for a non-atomic class from a program code used for creating objects to be serialized into an XML document, the element class comprising: a first constructor;a decomposer that returns data extracted from an object of the created objects in the program code, for an entity to aid in serialization, wherein the object is of type non-atomic class;a composer that extracts value of the entity and creates a new instance of the non-atomic class using the extracted value to aid in de-serialization; andwherein the element class extends a super element class, and wherein the super element class comprises serializing and de-serializing code; the computer receiving an attribute class that is created for an atomic class, wherein the non-atomic class refers to the atomic class, and wherein the attribute class comprises a second constructor, a serializer, and a de-serializer; and the computer generating the XML document using the element class, the attribute class, and serializing code in the super element class, wherein the serializing code is executed when the decomposer and the serializer are invoked.
地址 Walldorf DE