code: def setViews(self, received, windowId=None):
          '''
          Sets L{self.views} to the received value splitting it into lines.
  
          @type received: str
          @param received: the string received from the I{View Server}
          '''
  
          if not received or received == "":
              raise ValueError("received is empty")
          self.views = []
          ''' The list of Views represented as C{str} obtained after splitting it into lines after being received from the server. Done by L{self.setViews()}. '''
          self.__parseTree(received.split("\n"), windowId)
          if DEBUG:
              print >>sys.stderr, "there are %d views in this dump" % len(self.viewsf setViews(self, received, windowId=None):
          '''
          Sets L{self.views} to the received value splitting it into lines.
  
          @type received: str
          @param received: the string received from the I{View Server}
          '''
  
          if not received or received == "":
              raise ValueError("received is empty")
          self.views = []
          ''' The list of Views represented as C{str} obtained after splitting it into lines after being received from the server. Done by L{self.setViews()}. '''
          self.__parseTree(received.split("\n"), windowId)
          if DEBUG:
              print >>sys.stderr, "there are %d views in this dump" % len(self.views)
docs: Sets L{self.views} to the received value splitting it into lines.
  
          @type received: str
          @param received: the string received from the I{View Server}