#NEWLINE# def export( self , lwrite , level , nsmap , namespace_ = XML_NS , name_ = 'ReportType' , namespacedef_ = '' , pretty_print = True ) : #NEWLINE# #INDENT# if pretty_print : #NEWLINE# #INDENT# eol_ = '\n' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# eol_ = '' #NEWLINE# #UNINDENT# showIndent ( lwrite , level , pretty_print ) #NEWLINE# lwrite ( ( '<%s:%s%s' % ( nsmap [ namespace_ ] , name_ , ( ( namespacedef_ and ( ' ' + namespacedef_ ) ) or '' ) ) ) ) #NEWLINE# already_processed = set ( ) #NEWLINE# self . exportAttributes ( lwrite , nsmap , already_processed , namespace_ , name_ = 'ReportType' ) #NEWLINE# if self . hasContent_ ( ) : #NEWLINE# #INDENT# lwrite ( ( '>%s' % ( eol_ , ) ) ) #NEWLINE# self . exportChildren ( lwrite , ( level + 1 ) , nsmap , XML_NS , name_ , pretty_print = pretty_print ) #NEWLINE# showIndent ( lwrite , level , pretty_print ) #NEWLINE# lwrite ( ( '</%s:%s>%s' % ( nsmap [ namespace_ ] , name_ , eol_ ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# lwrite ( ( '/>%s' % ( eol_ , ) ) )