'Build a table content using C{self.linePattern} and giving elements odd
and even classes.'

def _buildTableContent(self, elements):

    tableContent = []
    rowClasses = itertools.cycle(['odd', 'even'])
    for (element, rowClass) in zip(elements, rowClasses):
        element['class'] = rowClass
        tableContent.append((self.linePattern % element))
    return tableContent
