XMLAttributeList attributeList = new XMLAttributeList() .addAttribute("value", String.valueOf(value));  String role = getDescription(); if (!role.equals(DEFAULT_ROLE)) attributeList.addAttribute("role", role);  xmlOutput.openCloseTag(ELEMENT_NAME, attributeList);
writeXML(xmlOutput, false);
	public void writeXML(XMLOutput xmlOutput) throws IOException {		XMLAttributeList attributeList = new XMLAttributeList()			.addAttribute("value", String.valueOf(value));		String role = getDescription();		if (!role.equals(DEFAULT_ROLE))			attributeList.addAttribute("role", role);		xmlOutput.openCloseTag(ELEMENT_NAME, attributeList);	}