Method, system, and program for interfacing with elements in a document
First Claim
Patent Images
1. A method for generating an interface to elements in a document, wherein the document defines a relationship of the elements and at least one attribute for each element, comprising:
- providing a mapping indicating at least one element in the document to map to a class and interface to generate for the class, wherein the interface defines methods to access the element for which the class is generated, and wherein each element comprises a logical part of the document having a marked start and end; and
generating the class and the interface implementing methods for the at least one element from information provided on elements in the document and the mapping, wherein the at least one indicated element in the document for which the class is generated can be accessed and affected by the methods implemented in the class.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a system, method, and program for generating an interface to elements in a document. The document defines a relationship of the elements and at least one attribute for each element. A class is generated for at least one element to implement methods from information provided on elements in the document and a mapping indicating at least one element in the document to map to a class. The at least one indicated element in the document for which the class is generated can be accessed and affected by the methods implemented in the class.
-
Citations
30 Claims
-
1. A method for generating an interface to elements in a document, wherein the document defines a relationship of the elements and at least one attribute for each element, comprising:
-
providing a mapping indicating at least one element in the document to map to a class and interface to generate for the class, wherein the interface defines methods to access the element for which the class is generated, and wherein each element comprises a logical part of the document having a marked start and end; and generating the class and the interface implementing methods for the at least one element from information provided on elements in the document and the mapping, wherein the at least one indicated element in the document for which the class is generated can be accessed and affected by the methods implemented in the class. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for generating an interface to elements in a document, comprising:
-
a memory including; (i) the document, wherein the document defines a relationship of the elements and at least one attribute for each element, and wherein each element comprises a logical part of the document having a marked start and end; and (ii) a mapping indicating at least one element in the document to map to a class and an interface to generate for the class; means for generating the class and the interface implementing methods for the at least one element from information provided on elements in the document and the mapping, wherein the at least one indicated element in the document for which the class is generated can be accessed and affected by the methods implemented in the class. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. An article of manufacture for use in generating an interface to elements in a document, wherein the document defines a relationship of the elements and at least one attribute for each element, the article of manufacture comprising computer readable storage media including at least one computer program embedded therein that is capable of causing a processor to perform:
-
providing a mapping indicating at least one element in the document to map to a class and an interface to generate for the class, wherein the interface defines methods to access the element for which the class is generated, and wherein each element comprises a logical part of the document having a marked start and end; and generating the class and the method implementing methods for the at least one element from information provided on elements in the document, wherein the at least one indicated element in the document for which the class is generated can be accessed and affected by the methods implemented in the class. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification