|
OpenMM
|
XmlSerializer is used for serializing objects as XML, and for reconstructing them again. More...
Inherits _object.
Public Member Functions | |
| def | __init__ |
| def | serializeSystem |
| serializeSystem(object) -> std::string | |
| def | deserializeSystem |
| deserializeSystem(inputString) -> System | |
Static Public Member Functions | |
| def | serialize |
| Serialize an object as XML. | |
| def | deserialize |
| Reconstruct an object that has been serialized as XML. | |
Static Public Attributes | |
| tuple | serializeSystem = staticmethod(serializeSystem) |
| tuple | deserializeSystem = staticmethod(deserializeSystem) |
XmlSerializer is used for serializing objects as XML, and for reconstructing them again.
| def __init__ | ( | self, | |
| args, | |||
| kwargs | |||
| ) |
| def deserialize | ( | inputString | ) | [static] |
Reconstruct an object that has been serialized as XML.
| def deserializeSystem | ( | inputString | ) |
deserializeSystem(inputString) -> System
This method exists only for backward compatibility.
| def serialize | ( | object | ) | [static] |
Serialize an object as XML.
| def serializeSystem | ( | object | ) |
serializeSystem(object) -> std::string
This method exists only for backward compatibility.
tuple deserializeSystem = staticmethod(deserializeSystem) [static] |
tuple serializeSystem = staticmethod(serializeSystem) [static] |