'Method used to allow class instance to be garbage-collected.'

def destroy(self):

    self.check_data_buffer()
    self._parser.StartElementHandler = None
    self._parser.EndElementHandler = None
    self._parser.CharacterDataHandler = None
    self._parser.StartNamespaceDeclHandler = None
