Logo Search packages:      
Sourcecode: zope-cmfbibliographyat version File versions  Download package

def CMFBibliographyAT::tool::bibliography::BibliographyTool::getParser (   self,
  format 
)

returns the parser for the specified format
first looks for a parser with the 'format' name
next looks for a parser with the 'format' extension

Definition at line 226 of file bibliography.py.

00226                                :
        """
        returns the parser for the specified format
        first looks for a parser with the 'format' name
        next looks for a parser with the 'format' extension
        """
        for parser in self.Parsers.objectValues():
            if format.lower() == parser.getFormatName().lower():
                return parser
            elif format.lower() == parser.getFormatExtension().lower():
                return parser
        return None ## rr: we probabliy should raise an error here 

    def checkEncoding(self, source):


Generated by  Doxygen 1.6.0   Back to index