@staticmethod<EOL><INDENT>def register_scheme(scheme, constructor):<DEDENT>
if not re.search(r'<STR_LIT>', scheme):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(scheme))<EOL><DEDENT>if scheme in SimpleConditionFactory._constructors:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(scheme))<EOL><DEDENT>SimpleConditionFactory._constructors[scheme] = constructor<EOL>
Registers a scheme.

:param str scheme: The scheme.
:param callable constructor: The SimpleCondition constructor.