摘要:
A programming object can comprise an executable method for loading a state of the object and an executable method for saving the object's state. The programming object can be an instance of a programmer-defined class. The executable method of the object for loading the state of the object can load the object's state as markup language text, and the executable method of the object for saving the object's state can save the object's state as markup language text.
摘要:
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.
摘要:
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.