<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_text(self, line):
 """ Return the textual representation of the given `line`. """

        return getattr(self, self.ENTRY_TRANSFORMERS[line.__class__])(line)