'Required:
line --line to parse
Returns:
nothing
Logic:
This function handles all the lines that are in the paragraph. It
looks for clues to the end of the paragraph. When a clue is found,
it calls on another method to write the end of the tag and change
the state.'

def __paragraph_func(self, line):

    action = self.__paragraph_dict.get(self.__token_info)
    if action:
        action(line)
    else:
        self.__write_obj.write(line)
