Providing runtime object by instantiating template-derived classes
First Claim
1. A method for providing a library that is adapted to be instantiated into a runtime object, the method comprising:
- providing a template that corresponds to the structure of the runtime object with element placeholders for elements and with attribute placeholders for attributes;
providing classes that form the library, wherein the classes correspond to the elements and the classes have replacement instructions for the placeholders, with the replacement instructions activated upon instantiating into the runtime object.
1 Assignment
0 Petitions
Accused Products
Abstract
A library (297) with classes for subsequent instantiation into a runtime object is generated from a template. First, the template (293) is provided (420) such that it corresponds to the structure of the runtime object by having element placeholders ($, $End$) for elements (H, L) and attribute placeholders (&, &) for attributes (AttH, AttL). Second, classes (297-1, 297-2) are provided (430) that form the library (297), wherein the classes correspond to the elements (H, L), and the classes (297-1, 297-2) have replacement instructions for the placeholders that are activated upon instantiating into the runtime object.
12 Citations
20 Claims
-
1. A method for providing a library that is adapted to be instantiated into a runtime object, the method comprising:
-
providing a template that corresponds to the structure of the runtime object with element placeholders for elements and with attribute placeholders for attributes;
providing classes that form the library, wherein the classes correspond to the elements and the classes have replacement instructions for the placeholders, with the replacement instructions activated upon instantiating into the runtime object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. An article of manufacture comprising a computer-usable medium storing computer-readable program code for causing a processor to perform operations comprising:
-
providing a runtime object having elements and attributes, with each element having associated ones of the attributes;
pre-assembling the runtime object using classes in a library, wherein the classes correspond to the elements, the classes include replacement instructions for attribute placeholders, and the classes are based on a template that corresponds to a structure of the runtime object, with the template including element placeholders for the elements and attribute placeholders for the attributes;
identifying data for the attributes associated with each of the elements; and
instantiating the classes by activating the replacement instructions to replace the attribute placeholders with the data. - View Dependent Claims (15, 16, 17)
-
-
18. A computer program stored on a computer-readable medium and comprising processor instructions for providing a library adapted to be instantiated into a runtime object, the processor instructions comprising:
-
first instructions for providing a template that corresponds to a structure of the runtime object with element placeholders for elements and with attribute placeholders for attributes; and
second instructions for providing classes that form the library, wherein the classes correspond to the elements and the classes have replacement instructions for the placeholders that are activated upon instantiating into the runtime object. - View Dependent Claims (19)
-
-
20. A computer system for providing a library adapted to be instantiated into a runtime object, the computer system comprising:
-
means for providing a template that corresponds to a structure of the runtime object with element placeholders for elements and with attribute placeholders for attributes; and
means for providing classes that form the library, wherein the classes correspond to the elements and the classes have replacement instructions for the placeholders that are activated upon instantiating into the runtime object.
-
Specification