'Requires:
line -- line to parse
Returns:
Logic:
the tokens in the row definition contain the following information:
1. row borders.
2. cell borders for all cells in the row.
3. cell postions for all cells in the row.
Put all information about row borders into a row dictionary.
Put all information about cell borders into into the dictionary in
the last item in the cell list. ([{border:something, width:something},
{border:something, width:something}])
cw<bd<bor-t-r-to<nu<bdr-hair__|bdr-li-wid:0.50'

def __handle_row_token(self, line):

    if (line[3:5] == 'bd'):
        border_obj = border_parse.BorderParse()
        the_dict = border_obj.parse_border(line)
        keys = the_dict.keys()
        in_cell = 0
        for key in keys:
            if (key[0:11] == 'border-cell'):
                in_cell = 1
        for key in keys:
            if in_cell:
                self.__cell_list[(-1)][key] = the_dict[key]
            else:
                self.__row_dict[key] = the_dict[key]
    elif (self.__token_info == 'cw<tb<cell-posit'):
        self.__found_cell_position(line)
    elif (self.__token_info == 'cw<tb<row-pos-le'):
        position = line[20:(-1)]
        self.__row_dict['left-row-position'] = position
    elif (self.__token_info == 'cw<tb<row-header'):
        self.__row_dict['header'] = 'true'
