#NEWLINE# def getNodeST( self , adaptor , t ) : #NEWLINE# #INDENT# text = adaptor . getText ( t ) #NEWLINE# nodeST = self . _nodeST . getInstanceOf ( ) #NEWLINE# uniqueName = ( 'n%d' % self . getNodeNumber ( t ) ) #NEWLINE# nodeST . setAttribute ( 'name' , uniqueName ) #NEWLINE# if ( text is not None ) : #NEWLINE# #INDENT# text = text . replace ( '"' , '\\\\"' ) #NEWLINE# #UNINDENT# nodeST . setAttribute ( 'text' , text ) #NEWLINE# return nodeST