Method writes the xml representation of the generic managed object.

def WriteXml(self, w, option, elementName=None):
		"""	Method writes the xml representation of the generic managed object.	"""
		if elementName == None:
			x = w.createElement(self.classId)
		else:
			x = w.createElement(elementName)

		for prop in self.__dict__['properties']:
			x.setAttribute(UcsUtils.WordL(prop), self.__dict__['properties'][prop])
		x_child = self.childWriteXml(w, option)
		for xc in x_child:
			if (xc != None):
				x.appendChild(xc)
		return x