@classmethod
def get_factory(cls, mime_type):
    """ Returns a class of type :attr:`~_backend`.
        """
    cls._setup_backends()
    try:
        return cls._backends[mime_type]
    except KeyError:
        return None
