← Back to Patent Explorer
US6083276A Expired / Lapsed US ⏱️ 0.0 years remaining

Creating and configuring component-based applications using a text-based descriptive attribute grammar

Assignee: COREL Inc
•
Filing: 1998-06-11
•
Granted: 2000-07-04
•
Expires: 2018-06-11
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method for creating and configuring a component-based application through text-based descriptive attribute grammar includes creating a parse tree from an application description file, transforming the parse tree into a plurality of components corresponding to instances of classes in an application framework, and initializing and further processing the components to launch the component-based application. Additionally, a system for creating and configuring a component-based application includes a parser, a plurality of element processors, an element mapper, an attribute mapper, and a parameter converter.

Inventors

  • 👤 Harold R. Davidson
  • 👤 Derek Penn

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-25 22:16
CPC Classifications
G; G06; G06F; G06F8/00; G06F8/30; G06F8/40; G06F8/41; G06F8/42; G06F8/427; G06F8/70; G06F8/71

Claims Analysis

Total Claims: 27
Claim 1
Independent Claim 99 words
A computer-implemented method for creating and configuring a component-based application, the method comprising the steps of: receiving an application description file containing a definition of a component-based application; generating, in a memory, a representation of a parse tree based on the application description file, the parse tree comprising at least one leaf; for each of a first subset of the leaves, mapping the leaf to a target class; and instantiating a component associated with the target class; and for at least a subset of the instantiated components, invoking at least one method of the component to launch the application.
Claim 2
Dependent Claim 99 words
A computer-implemented method for creating and configuring a component-based application, the method comprising the steps of: receiving an application description file containing a definition of a component-based application; generating, in a memory, a representation of a parse tree based on the application description file, the parse tree comprising at least one leaf; for each of a first subset of the leaves, mapping the leaf to a target class; and instantiating a component associated with the target class; and for at least a subset of the instantiated components, invoking at least one method of the component to launch the application.
Claim 3
Dependent Claim 22 words
The method of claim 1, wherein the step of generating a representation of a parse tree comprises parsing the application description file.
Claim 4
Dependent Claim 29 words
The method of claim 1, wherein the application description filed is a text-based, extensible markup language (XML) compliant document, and the parse tree is created by an XML parser.
Claim 5
Dependent Claim 30 words
The method of claim 1, wherein the at least one leaf comprises a data object from the group of data objects consisting of comments, processing instructions, elements, and raw data.
Claim 6
Dependent Claim 18 words
The method of claim 1, wherein the component is an instance of a class in an application framework.
Claim 7
Dependent Claim 60 words
The method of claim 1, wherein at least one leaf comprises an element including an attribute list comprising at least one attribute, the method further comprising the step of: mapping at least one attribute in the attribute list of at least one leaf to a property of the component associated with the target class to which the leaf is mapped.
Claim 8
Dependent Claim 50 words
The method of claim 1, wherein the components comprise at least one parent component and at least one child component, and wherein the step instantiating a component comprises instantiating at least one child component before instantiating at least one parent component using a post-order recursive traversal of the parse tree.
Claim 9
Dependent Claim 52 words
The method of claim 1, wherein each leaf comprises a tag, and the step of mapping the leaf to a target class comprises the steps of: comparing the tag of the leaf with a plurality of target class names in an application framework; and selecting a target class with a matching name.
Claim 10
Dependent Claim 38 words
The method of claim 1, wherein the instantiating step comprises the steps of: creating an element processor for the element, the element processor being associated with the target class; and creating an uninitialized instance of the target class.
Claim 11
Dependent Claim 88 words
The method of claim 6, wherein each attribute comprises a name, and the step of mapping the at least one attribute to a property of the component comprises the steps of: for each attribute in the attribute list, searching an element mapper for a property descriptor having a name that matches the name of the attribute; responsive to a match being found, obtaining a write method for the component property from the matching property descriptor; and executing the write method to write the attribute to the component property.
Claim 12
Dependent Claim 67 words
The method of claim 10, wherein the write method comprises a parameter associated with the attribute, and the executing step comprises the steps of: determining whether the parameter is of a same type as the attribute; responsive to the parameter being a different type, converting the type of the attribute to the type of the parameter; and executing the write method with the attribute as the parameter.
Claim 13
Dependent Claim 32 words
The method of claim 1, further comprising the steps of: for each component, initializing the component; and responsive to the component having a parent component, adding the component to the parent component.
Claim 14
Independent Claim 126 words
A system for creating and configuring a component-based application, the system comprising: at least one element processor for reading a parse tree comprising at least one element, and for at least a subset of the elements of the parse tree, transforming the element into a component in an application framework, and for transforming the component into a running application; an element mapper, coupled to the at least one element processor, for mapping the element to a target class; and an attribute mapper, coupled to the at least one element processor, for mapping an attribute of the element to a property of the component; wherein the element processor transforms the element into the component by calling the element mapper to map the element, and instantiating the component.
Claim 15
Independent Claim 126 words
A system for creating and configuring a component-based application, the system comprising: at least one element processor for reading a parse tree comprising at least one element, and for at least a subset of the elements of the parse tree, transforming the element into a component in an application framework, and for transforming the component into a running application; an element mapper, coupled to the at least one element processor, for mapping the element to a target class; and an attribute mapper, coupled to the at least one element processor, for mapping an attribute of the element to a property of the component; wherein the element processor transforms the element into the component by calling the element mapper to map the element, and instantiating the component.
Claim 16
Dependent Claim 28 words
The system of claim 13, wherein the element comprises: a tag for identifying the element; and an attribute list comprises a number of attributes corresponding to component properties.
Claim 17
Dependent Claim 40 words
The system of claim 13, wherein each attribute and property comprise a type, and the system further comprises: a parameter converter, coupled to the attribute mapper, for converting the type of the attribute to the type of the component property.
Claim 18
Dependent Claim 32 words
The system of claim 13, further comprising a parser, coupled to the at least one element processor, for creating a parse tree from an application description file comprising a text-based attribute grammar.
Claim 19
Dependent Claim 22 words
The system of claim 16, wherein the application description file is an XML-compliant, text-based document, and the parser is an XML parser.
Claim 20
Dependent Claim 32 words
The system of claim 13, wherein the attribute mapper comprises a plurality of property descriptors, each property descriptor comprising a name and a write method for writing an attribute to component property.
Claim 21
Dependent Claim 128 words
A computer-readable medium having computer-readable program code devices embodied therein for creating and configuring a component-based application, the computer-readable medium comprising: computer-readable program code devices configured to receive an application description file containing a definition of a component-based application; computer-readable program code devices configured to generate, in a memory, a representation of a parse tree based on the application description file, the parse tree comprising at least one leaf; computer-readable program code devices configured to, for each of a first subset of the leaves, map the leaf to a target class; and instantiate a component associated with the target class; and computer-readable program code devices configured to, for at least a subset of the instantiated components, invoke at least one method of the component to launch the application.
Claim 22
Dependent Claim 128 words
A computer-readable medium having computer-readable program code devices embodied therein for creating and configuring a component-based application, the computer-readable medium comprising: computer-readable program code devices configured to receive an application description file containing a definition of a component-based application; computer-readable program code devices configured to generate, in a memory, a representation of a parse tree based on the application description file, the parse tree comprising at least one leaf; computer-readable program code devices configured to, for each of a first subset of the leaves, map the leaf to a target class; and instantiate a component associated with the target class; and computer-readable program code devices configured to, for at least a subset of the instantiated components, invoke at least one method of the component to launch the application.
Claim 23
Dependent Claim 52 words
The computer-readable medium of claim 19, wherein an element includes an attribute list comprising at least one attributes, further comprising: computer-readable program code devices configured to map at least one attribute in the attribute list to a property of the component associated with the target class to which the leaf is mapped.
Claim 24
Dependent Claim 68 words
The computer-readable medium of claim 20, wherein at least one element comprises a tag, and the computer-readable program code devices configured to map the element to a target class comprise: computer-readable program code devices configured to compare the tag of the element with a plurality of target class names in an application framework; and computer-readable program code devices configured to select a target class with a matching name.
Claim 25
Dependent Claim 59 words
The computer-readable medium of claim 19, wherein the computer-readable program code devices configured to instantiate a component of the target class comprise: computer-readable program code devices configured to create an element processor for the element, the element processor being associated with the target class; and computer-readable program code devices configured to create an uninitialized instance of the target class.
Claim 26
Dependent Claim 99 words
The computer-readable medium of claim 20, wherein an attribute comprises a name, and the computer-readable program code devices configured to map at least one attribute in the attribute list to a property of the component comprise: computer-readable program code devices configured, for each attribute in the attribute list, to: search an element mapper for a property descriptor having a name that matches the name of the attribute; responsive to a match being found, obtain a write method for the component property from the matching property descriptor; and execute the write method to write the attribute to the component property.
Claim 27
Dependent Claim 36 words
The computer-readable medium of claim 19, further comprising: computer-readable program code devices configured, for each component, to: initialize the component; and responsive to the component having a parent component, add the component to the parent component.

References Cited (Backward Citations)

US4667290A Cited
US5528508A Cited
US5970490A Cited
US5953526A Cited
US6012098A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2003-07-04 2004-01-03 2004-07-04 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2007-07-04 2008-01-03 2008-07-04 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2011-07-04 2012-01-03 2012-07-04 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag