XMLAttributeList attributeList = new XMLAttributeList() .addAttribute("classname", getClassName()) .addAttribute("name", getFieldName()) .addAttribute("signature", getFieldSignature()) .addAttribute("isStatic", String.valueOf(isStatic()));  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("classname", getClassName())			.addAttribute("name", getFieldName())			.addAttribute("signature", getFieldSignature())			.addAttribute("isStatic", String.valueOf(isStatic()));		String role = getDescription();		if (!role.equals(DEFAULT_ROLE))			attributeList.addAttribute("role", role);		xmlOutput.openCloseTag(ELEMENT_NAME, attributeList);	}