'Required:
line -- the line of current text.
Return:
Nothing
Logic:'

def __after_pard_func(self, line):

    if ((self.__token_info == 'mi<tg<open-att__') and (line[17:37] == 'paragraph-definition')):
        self.__pard_after_par_def_func(line)
    elif ((self.__token_info == 'mi<tg<close_____') and (line[17:(-1)] == 'paragraph-definition')):
        sys.stderr.write('Wrong    flag    in    __after_pard_func\n')
        if (self.__run_level > 2):
            msg = 'wrong    flag'
            raise self.__bug_handler, msg
    elif (self.__token_info in self.__end_list):
        self.__write_obj.write('mi<tg<close_____<paragraph-definition\n')
        self.__write_end_wrap()
        self.__write_obj.write(self.__list_chunk)
        self.__list_chunk = ''
        self.__state = 'default'
        self.__write_obj.write(line)
    else:
        self.__list_chunk += line
