'Set the element\'s L{Text} content.
@param value: The element\'s text value.
@type value: basestring
@return: self
@rtype: I{Element}'

def setText(self, value):

    if isinstance(value, Text):
        self.text = value
    else:
        self.text = Text(value)
    return self
