docs: def toXml(self, xparent=None):
          """
          Converts this object to XML.
  
          :param      xparent | <xml.etree.ElementTree.Element> || None
  
          :return     <xml.etree.ElementTree.Element>
          """
          if xparent is None:
              xml = ElementTree.Element('object')
          else:
              xml = ElementTree.SubElement(xparent, 'object')
  
          xml.set('class', self.__class__.__name__)
          for name, value in self._xmlData.items():
              xprop = ElementTree.SubElement(xml, 'property')
              xprop.set('name', name)
              XmlDataIO.toXml(value, xprop)
          return xml