Methods and systems for objects supporting structured language persistent state
First Claim
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.
3 Assignments
0 Petitions
Accused Products
Abstract
A converter converts between structured language elements and objects embeddable in the native format of a document editor. A data structure representing the embeddable object is created without instantiating an instance of the object and includes the associated structured language element. Subsequently, the structured language element is used to instantiate an object and set its properties. Any portion of the structured language element not recognized during the conversion process is retained by the embeddable object. If conversion back to a structured language element is subsequently required, the conversion process is facilitated by the presence of the original structured language element within the embeddable object as well as the retained portion of the structured language element not recognized.
-
Citations
11 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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
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. - View Dependent Claims (8, 9, 10, 11)
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.
Specification