Method, system, and program for mapping objects in different language formats
First Claim
1. A method for translating source code statements to executable code, comprising:
- processing a source code statement from the source code statements including an application program interface (API) that is a member of a set of standard APIs calling an object in a first format;
determining from a mapping at least one user interface API corresponding to the determined standard API, wherein the user interface API provides an implementation of the standard APIs in a user interface program, and wherein the user interface API manipulates a browser object;
accessing a mapping of the called object to a corresponding object in a second format utilized by the user interface program, wherein the mapping includes a middle object and a node object that provide a linkage between the called object in the first format and the corresponding object in the second format, wherein the middle object includes a pointer to the node object and wherein the node object includes a pointer to the object in the second format; and
constructing a source code statement comprising the determined user interface API calling the corresponding object in the second format, wherein the user interface program is capable of executing the user interface API calling the corresponding object.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a system, method, and program for translating source code statements to executable code. A source code statement including an application program interface (API) that is a member of a set of standard APIs calling an object in a first format is processed. A mapping is used to determine at least one user interface API corresponding to the determined standard API. The user interface API provides an implementation of the standard APIs in a user interface program. A mapping is determined of the called object to a corresponding object in a second format utilized by the user interface program is accessed. The source code statement comprising the standard API calling the object in the first format is converted to the determined user interface API calling the corresponding object in the second format. The user interface program is capable of executing the user interface API calling the corresponding object.
115 Citations
33 Claims
-
1. A method for translating source code statements to executable code, comprising:
-
processing a source code statement from the source code statements including an application program interface (API) that is a member of a set of standard APIs calling an object in a first format;
determining from a mapping at least one user interface API corresponding to the determined standard API, wherein the user interface API provides an implementation of the standard APIs in a user interface program, and wherein the user interface API manipulates a browser object;
accessing a mapping of the called object to a corresponding object in a second format utilized by the user interface program, wherein the mapping includes a middle object and a node object that provide a linkage between the called object in the first format and the corresponding object in the second format, wherein the middle object includes a pointer to the node object and wherein the node object includes a pointer to the object in the second format; and
constructing a source code statement comprising the determined user interface API calling the corresponding object in the second format, wherein the user interface program is capable of executing the user interface API calling the corresponding object. - View Dependent Claims (2, 3, 4, 6, 7, 8, 9, 10, 11)
-
-
5. The method of 4, wherein the application program further includes statements in an object oriented programming language, wherein the middle object class is implemented in the object oriented programming language.
-
12. A system for translating source code statements to executable code, comprising:
-
means for processing a source code statement from the source code statements including an application program interface (API) that is a member of a set of standard APIs calling an object in a first format;
means for determining from a mapping at least one user interface API corresponding to the determined standard API, wherein the user interface API provides an implementation of the standard APIs in a user interface program, and wherein the user interface APT manipulates a browser object;
means for accessing a mapping of the called object to a corresponding object in a second format utilized by the user interface program, wherein the mapping includes a middle object and a node object that provide a linkage between the called object in the first format and the corresponding object in the second format, wherein the middle object includes a pointer to the node object, and wherein the node object includes a pointer to the object in the second format; and
means for constructing a source code statement comprising the determined user interface API calling the corresponding object in the second format, wherein the user interface program is capable of executing the user interface API calling the corresponding object. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. An information bearing medium including code for translating source code statements to executable code, wherein the code is capable of causing a processor to perform:
-
processing a source code statement from the source code statements including an application program interface (API) that is a member of a set of standard APIs calling an object in a first format;
determining from a mapping at least one user interface API corresponding to the determined standard API, wherein the user interface API provides an implementation of the standard APIs in a user interface program, and wherein the user interface API manipulates a browser object;
accessing a mapping of the called object to a corresponding object in a second format utilized by the user interface program, wherein the mapping includes a middle object and a node object that provide a linkage between the called object in the first format and the corresponding object in the second format, wherein the middle object includes a pointer to the node object, and wherein the node object includes a pointer to the object in the second format; and
constructing a source code statement comprising the determined user interface API calling the corresponding object in the second format, wherein the user interface program is capable of executing the user interface API calling the corresponding object. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification