Conversion of an object model to a source file generation model
First Claim
1. A method for generating a computing application for a mobile information device, comprising the steps of:
- preparing a descriptor object model of said application from a specification thereof, said descriptor object model being organized as a hierarchical tree;
performing an incremental traversal of said descriptor object model and at each of a plurality of increments of said traversal performing the steps of;
identifying a descriptor object of said descriptor object model that requires an output code file that includes an application element to be generated;
calling a generator class corresponding to said descriptor object;
generating said output code file using said generator class; and
arranging said output code file in a hierarchical file collection of output code files produced in other increments of said traversal.
2 Assignments
0 Petitions
Accused Products
Abstract
An infrastructure is provided for creating applications for mobile information devices, using a tag-based markup language. Developers can use the markup language to define applications and content based on easily manipulated textual tags, rather than having to write specific source code. A compiler, processes the tags in several phases. In one phase, a hierarchical object model of the application is populated with objects. Then, in another phase, a generator traverses the object model hierarchy in a top-down manner, producing source code files corresponding to objects in the object model. The code files may include various elements, for example screens, forms, and servlets. For each element required to be generated, an appropriately configured generator class is invoked. The output code can be Java source code.
92 Citations
68 Claims
-
1. A method for generating a computing application for a mobile information device, comprising the steps of:
-
preparing a descriptor object model of said application from a specification thereof, said descriptor object model being organized as a hierarchical tree;
performing an incremental traversal of said descriptor object model and at each of a plurality of increments of said traversal performing the steps of;
identifying a descriptor object of said descriptor object model that requires an output code file that includes an application element to be generated;
calling a generator class corresponding to said descriptor object;
generating said output code file using said generator class; and
arranging said output code file in a hierarchical file collection of output code files produced in other increments of said traversal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A computer software product, comprising a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method for generating a computing application for a mobile information device, comprising the steps of:
-
preparing a descriptor object model of said application from a specification thereof, said descriptor object model being organized as a hierarchical tree;
performing an incremental traversal of said descriptor object model and at each of a plurality of increments of said traversal performing the steps of;
identifying a descriptor object of said descriptor object model that requires an output code file that includes an application element to be generated;
calling a generator class corresponding to said descriptor object;
generating said output code file using said generator class; and
arranging said output code file in a hierarchical file collection of output code files produced in other increments of said traversal. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
-
45. A data processing system for generating a mobile information device computing application, comprising:
a computer readable memory having a data structure stored therein, said data structure including;
a descriptor object model that is derived from a specification of said application, said descriptor object model being organized as a hierarchical tree;
a generator that is linked to said descriptor object model for generating generator classes and output code;
a generator object model produced by said generator, having generator objects that correspond to descriptor objects of said descriptor object model, wherein said output code is generated by said generator according to directives in said generator object model, and said descriptor objects are adapted to induce generation of different application elements. - View Dependent Claims (46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68)
Specification