@classmethod
def _elementForValue(cls, value):
    """Return the L{_EnumerationElement} instance that has the given value.

        @raise KeyError: the value is not valid for the enumeration."""
    return cls._CF_enumeration.elementForValue(value)
