@classmethod
def maptag(cls, tag, fn):
    """
        Map (override) tag => I{class} mapping.

        @param tag: An XSD tag name.
        @type tag: str
        @param fn: A function or class.
        @type fn: fn|class.

        """
    cls.tags[tag] = fn
