XML serialization and deserialization
First Claim
1. A method comprising:
- compiling source code that includes a programming type and an attribute, the attribute specifying a name of an XML element to be stored when serializing an instance of the programming type.
2 Assignments
0 Petitions
Accused Products
Abstract
An object instance is serialized to a serial format, such as an extensible Markup Language (XML) document, based on a mapping between an arbitrary annotated source code file and a schema. The arbitrary annotated source code contains at least one programming type that describes a shape of an object instance and the schema describes a format of a document having a serial format. The mapping defines a correspondence between the shape of the object instance and the format of the document having the serial format. Subsequently, an object instance is converted to the serial format by converting public properties, public fields and method parameters of the object instance to a document having the serial format based on the mapping. Once the mapping is defined, an XML document can also be converted to an object instance based on the mapping.
45 Citations
25 Claims
-
1. A method comprising:
compiling source code that includes a programming type and an attribute, the attribute specifying a name of an XML element to be stored when serializing an instance of the programming type. - View Dependent Claims (2, 4)
-
3. A method comprising:
compiling source code that includes a programming type and an attribute, the attribute specifying a name of an XML namespace to be stored when serializing an instance of the programming type.
-
5. A method comprising:
compiling source code that includes a class, a method with a return value, and an attribute, the attribute indicating that the return value is to be serialized to XML formatted data. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
12. A method comprising:
compiling source code that includes a class, a member of the class, and an attribute, the attribute indicating that the property is to be serialized to XML formatted data. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
22. A method comprising:
compiling source code that includes a class, a member of the class, and an attribute, the attribute indicating that the method is not to be serialized to XML formatted data. - View Dependent Claims (23, 24, 25)
Specification