#NEWLINE# def logTableFeatureStates( self , table ) : #NEWLINE# #INDENT# self . _writer . begintag ( 'featureStates' ) #NEWLINE# self . _writer . newline ( ) #NEWLINE# for tag in sorted ( table . getFeatureList ( ) ) : #NEWLINE# #INDENT# state = table . getFeatureState ( tag ) #NEWLINE# self . _writer . simpletag ( 'feature' , name = table , state = int ( state ) ) #NEWLINE# self . _writer . newline ( ) #NEWLINE# #UNINDENT# self . _writer . endtag ( 'featureStates' ) #NEWLINE# self . _writer . newline ( )