def write_element(self, element):
with self.lock:<EOL><INDENT>self._write_element(element)<EOL><DEDENT>
Write XML `element` to the stream.

        :Parameters:
            - `element`: Element node to send.
        :Types:
            - `element`: :etree:`ElementTree.Element`