OpenMM
XmlSerializer Class Reference

XmlSerializer is used for serializing objects as XML, and for reconstructing them again. More...

Inherits _object.

List of all members.

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)

Detailed Description

XmlSerializer is used for serializing objects as XML, and for reconstructing them again.


Constructor & Destructor Documentation

def __init__ (   self,
  args,
  kwargs 
)

Member Function Documentation

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.

Deprecated:
Use deserialize() instead.
def serialize (   object) [static]

Serialize an object as XML.

def serializeSystem (   object)

serializeSystem(object) -> std::string

This method exists only for backward compatibility.

Deprecated:
Use serialize() instead.

Member Data Documentation

tuple deserializeSystem = staticmethod(deserializeSystem) [static]
tuple serializeSystem = staticmethod(serializeSystem) [static]

The documentation for this class was generated from the following file:
 All Classes Functions Variables