|
SerializableObject object
Prototype for SerializableObject objects. Syntaxyou cannot create a SerializableObject, only derived typed can be created such as: URL object or ConfigurationObject derived objects. Parametersnone. Property Ofnone. Implemented InECMerge 2.1 DescriptionSerializableObject objects can be serialized to XML and set from a XML string. Propertiesno specific properties. MethodsExamplesExample 1.Take the parameters for my_document and logs their XML representation. var param = my_document.parameters; See Also
Method toString / as_xmlSyntaxfunction toString ( ) Parametersnone. Method OfSerializableObject object. Implemented InECMerge 2.1 DescriptionReturns a XML textual representation of the serializable object. See Also
Method set_xmlSyntaxfunction set_xml (xml_string) Parametersxml_string. String. XML representation, as saved by as_xml. Method OfSerializableObject object. Implemented InECMerge 2.1 DescriptionSets the value in the object from a XML textual representation serialized earlier with as_xml( ). ExamplesExample 1.Saves an OptionsSet as an XML string then create another OptionsSet with same options: var set1_xml =
current_frame.coordinator.document.parameters.settings.as_xml(); See Also
|
|