#NEWLINE# @ staticmethod #NEWLINE# def load_columns( columnsTag ) : #NEWLINE# #INDENT# '\n        @param columnsTag: the columnsTag from the XML file\n        @return: a list of Columns()\n        ' #NEWLINE# logging . debug ( "I'm loading some columns for the outputfile." ) #NEWLINE# columns = [ ] #NEWLINE# if ( columnsTag != None ) : #NEWLINE# #INDENT# for columnTag in columnsTag . findall ( 'column' ) : #NEWLINE# #INDENT# pattern = columnTag . text #NEWLINE# title = columnTag . get ( 'title' , pattern ) #NEWLINE# number_of_digits = columnTag . get ( 'numberOfDigits' ) #NEWLINE# column = Column ( pattern , title , number_of_digits ) #NEWLINE# columns . append ( column ) #NEWLINE# logging . debug ( 'Column "%s" with title "%s" loaded from XML file.' , column . text , column . title ) #NEWLINE# #UNINDENT# #UNINDENT# return columns