Beispiel #1
0
 def addXML(self, depth, output):
     "Add xml for this elementNode."
     innerOutput = cStringIO.StringIO()
     xml_simple_writer.addXMLFromObjects(depth + 1, self.childNodes, innerOutput)
     innerText = innerOutput.getvalue()
     xml_simple_writer.addBeginEndInnerXMLTag(
         self.attributes, depth, innerText, self.localName, output, self.getTextContent()
     )
	def addXML(self, depth, output):
		"Add xml for this object."
		if self.className == 'comment':
			output.write( self.text )
			return
		innerOutput = cStringIO.StringIO()
		xml_simple_writer.addXMLFromObjects(depth + 1, self.children, innerOutput)
		innerText = innerOutput.getvalue()
		xml_simple_writer.addBeginEndInnerXMLTag(self.attributeDictionary, self.className, depth, innerText, output, self.text)
Beispiel #3
0
 def addXML(self, depth, output):
     'Add xml for this elementNode.'
     innerOutput = cStringIO.StringIO()
     xml_simple_writer.addXMLFromObjects(depth + 1, self.childNodes,
                                         innerOutput)
     innerText = innerOutput.getvalue()
     xml_simple_writer.addBeginEndInnerXMLTag(self.attributes, depth,
                                              innerText, self.localName,
                                              output, self.getTextContent())
Beispiel #4
0
	def addXML(self, depth, output):
		'Add xml for this xmlElement.'
		if self.localName == 'comment':
			output.write( self.text )
			return
		innerOutput = cStringIO.StringIO()
		xml_simple_writer.addXMLFromObjects(depth + 1, self.childNodes, innerOutput)
		innerText = innerOutput.getvalue()
		xml_simple_writer.addBeginEndInnerXMLTag(self.attributeDictionary, depth, innerText, self.localName, output, self.text)
Beispiel #5
0
	def addXML(self, depth, output):
		"Add xml for this object."
		if self.className == 'comment':
			output.write( self.text )
			return
		innerOutput = cStringIO.StringIO()
		xml_simple_writer.addXMLFromObjects( depth + 1, self.children, innerOutput )
		innerText = innerOutput.getvalue()
		xml_simple_writer.addBeginEndInnerXMLTag( self.attributeDictionary, self.className, depth, innerText, output, self.text )
Beispiel #6
0
 def addXML(self, depth, output):
     'Add xml for this xmlElement.'
     if self.localName == 'comment':
         output.write( self.text )
         return
     innerOutput = StringIO.StringIO()
     xml_simple_writer.addXMLFromObjects(depth + 1, self.childNodes, innerOutput)
     innerText = innerOutput.getvalue()
     xml_simple_writer.addBeginEndInnerXMLTag(self.attributeDictionary, depth, innerText, self.localName, output, self.text)
Beispiel #7
0
	def addXML(self, depth, output):
		'Add xml for this object.'
		xml_simple_writer.addXMLFromObjects(depth, self.loopLayers, output)
Beispiel #8
0
 def addXML(self, depth, output):
     'Add xml for this object.'
     xml_simple_writer.addXMLFromObjects(depth, self.rotatedLoopLayers,
                                         output)
Beispiel #9
0
 def addXMLArchivableObjects(self, depth, output):
     "Add xml for this object."
     xml_simple_writer.addXMLFromObjects(depth, self.archivableObjects, output)
Beispiel #10
0
	def addXML(self, depth, output):
		"Add xml for this object."
		xml_simple_writer.addXMLFromObjects(depth, self.rotatedLoopLayers, output)
Beispiel #11
0
	def addXMLSection( self, depth, output ):
		"Add the xml section for this object."
		xml_simple_writer.addXMLFromVertices( depth, output, self.vertices )
		xml_simple_writer.addXMLFromObjects( depth, self.faces, output )
Beispiel #12
0
	def addXMLSection(self, depth, output):
		'Add the xml section for this object.'
		xml_simple_writer.addXMLFromVertexes( depth, output, self.vertexes )
		xml_simple_writer.addXMLFromObjects( depth, self.faces, output )
Beispiel #13
0
	def addXMLArchivableObjects(self, depth, output):
		"Add xml for this object."
		xml_simple_writer.addXMLFromObjects( depth, self.archivableObjects, output )
Beispiel #14
0
 def addXML(self, depth, output):
     "Add xml for this object."
     xml_simple_writer.addXMLFromObjects(depth, self.rotatedBoundaryLayers,
                                         output)
	def addXML( self, depth, output ):
		"Add xml for this object."
		xml_simple_writer.addBeginXMLTag( self.attributeDictionary, depth, self.className, output )
		xml_simple_writer.addXMLFromObjects( depth + 1, self.children, output )
		xml_simple_writer.addEndXMLTag( depth, self.className, output )