def relaxParserSetFlag(self, flags):
        """Semi private function used to pass informations to a parser
           context which are a combination of xmlRelaxNGParserFlag . """
        ret = libxml2mod.xmlRelaxParserSetFlag(self._o, flags)
        return ret