Claims
- 1. In a computer-readable medium, a programming object comprising:an interface for loading and saving the object's state; wherein the interface comprises: an executable member function for generating a structured language text persisted state of the programming object in structured language text; and an executable member function for restoring the object from the structured language text persisted state; wherein the programming object is an instance of a class and exposes its functionality to client programs that utilize the object only through one or more interfaces; wherein the interface for loading and saving the object's state is a group of semantically related member functions of the object.
- 2. The computer-readable medium of claim 1 wherein the structured language text comprises hypertext language text.
- 3. The computer-readable medium of claim 1 wherein the structured language text consists of HTML.
- 4. The computer-readable medium of claim 1 wherein the structured language text consists of VRML.
- 5. The computer-readable medium of claim 1 wherein the structured language text consists of markup language.
- 6. The computer-readable medium of claim 1 wherein the programming object is instantiable to represent an HTML form object.
- 7. A method for persisting and depersisting a programming object comprising executable methods for loading and saving a state of the programming object, wherein the programming object is an instance of a class, the method comprising:invoking out of the executable methods, a method for persisting the programming object; responsive to invocation of the method, generating a stream of structured language text representing the state of the programming object; invoking out of the executable methods, a method for depersisting the progrogramming object, wherein the stream of structured language text is provided for the method; responsive to invocation of the method, reading the stream of structured language text; and restoring the programming object to the state via the stream of structured language text.
- 8. The method of claim 7 wherein restoring the programming object comprises:setting properties of the object via the stream of structured language text.
- 9. The method of claim 7 wherein restoring the programming object comprises:setting properties of the object via a lookup table associating DISPIDs with HTML attribute keywords, wherein at least one of the HTML attribute keywords appears in the stream of structured language text.
- 10. The method of claim 7 wherein the method for persisting the programming object and the method for depersisting the programming object are grouped together into a programming interface associated with the programming object.
- 11. The method of claim 7 wherein the programming object is instantiable to represent an HTML form object.
CROSS REFERENCE TO RELATED APPLICATION
This application is a divisional of Francis et al., U.S. patent application Ser. No. 08/892,579, filed Jul. 14, 1997, now U.S. Pat. No. 6,182,092, entitled “METHOD AND SYSTEM FOR CONVERTING BETWEEN STRUCTURED LANGUAGE ELEMENTS AND OBJECTS EMBEDDABLE IN A DOCUMENT,” which is hereby incorporated herein by reference.
US Referenced Citations (19)
Non-Patent Literature Citations (4)
Entry |
Sleeter, Melissa E., OpenDoc—building online help for a component-oriented architecture,Annual ACM Conference on Systems Documentation, Oct. 19-22, 1996, pp. 87-94.* |
Chappell, David, Understanding ActiveX and OLE, Microsoft Press, Jun. 1996, pp. 107-128. |
Microsoft Internet Assistant for Word 6.0 for Windows, Microsoft, 1995. |
St. Laurent, Cookies, McGraw-Hill, pp. xi-xv and 1-27 (1998). |