'Required:
line --line to parse
Returns:
nothing
Logic:
I have found a section definition. Check if the line is the end of
the defnition (a paragraph defintion), or if it contains info that
should be added to the values dictionary. If neither of these
cases are true, output the line to a file.'

def __section_def_func(self, line):

    (action, name) = self.__section_def_dict.get(self.__token_info, (None, None))
    if action:
        action(line, name)
        if self.__in_field:
            self.__sec_in_field_string += line
        else:
            self.__write_obj.write(line)
    else:
        self.__write_obj.write(line)
