docs: def getElementsByType(self, type):
          """
          retrieves all Elements that are of type type
          @type  type: class 
          @param type:  type of the element 
          """
          foundElements=[]
          for element in self.getAllElementsOfHirarchy():
              if isinstance(element, type):
                  foundElements.append(element)                
                  
          return foundElements