return (Attr) this.attributes.setNamedItem(attr);
.getPrefix(qualifiedName))); tempAttr.setAttributeValue(value); this.attributes.setNamedItem(tempAttr); return tempAttr; } else { .getOwnerDocument(), DOMUtil .getLocalName(qualifiedName), ns, value, this.factory); this.attributes.setNamedItem(attr); return attr; AttrImpl tempAttr = ((AttrImpl) attributeNode); tempAttr.setAttributeValue(value); this.attributes.setNamedItem(tempAttr); return tempAttr; } else { AttrImpl attr = new AttrImpl((DocumentImpl) this .getOwnerDocument(), qualifiedName, value, this.factory); this.attributes.setNamedItem(attr); return attr;