def METHOD_NAME(self, name, attrs, content, ttFont):
    if name == "version":
        setattr(self, name, safeEval(attrs["value"]))
    elif name == "flags":
        setattr(self, name, binary2num(attrs["value"]))
    elif name == "strike":
        current_strike = Strike()
        for element in content:
            if isinstance(element, tuple):
                name, attrs, content = element
                current_strike.METHOD_NAME(name, attrs, content, ttFont)
        self.strikes[current_strike.ppem] = current_strike
    else:
        from fontTools import ttLib
        raise ttLib.TTLibError("can't handle '%s' element" % name)