#NEWLINE# def export( self , lwrite , level , namespace_ = 'DiskObj:' , name_ = 'DiskType' , 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' % ( namespace_ , name_ , ( ( namespacedef_ and ( ' ' + namespacedef_ ) ) or '' ) ) ) ) #NEWLINE# already_processed = set ( ) #NEWLINE# self . exportAttributes ( already_processed , level , already_processed , namespace_ , name_ = 'DiskType' ) #NEWLINE# if self . hasContent_ ( ) : #NEWLINE# #INDENT# lwrite ( '>' ) #NEWLINE# lwrite ( quote_xml ( self . valueOf_ ) ) #NEWLINE# self . exportChildren ( lwrite , ( level + 1 ) , namespace_ , name_ , pretty_print = pretty_print ) #NEWLINE# lwrite ( ( '</%s%s>%s' % ( namespace_ , name_ , eol_ ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# lwrite ( ( '/>%s' % ( eol_ , ) ) )