Home | History | Annotate | Download | only in dom

Lines Matching refs:newAttr

34  * The "setAttributeNode(newAttr)" method raises an "INUSE_ATTRIBUTE_ERR
35 * DOMException if the "newAttr" is already an attribute of another element.
39 * "setAttributeNodeNS(newAttr)" methods are invoked to create and add a new
40 * attribute to the newly created Element. The "setAttributeNodeNS(newAttr)"
83 String namespaceURI = "http://www.newattr.com";
84 String qualifiedName = "emp:newAttr";
87 Attr newAttr;
97 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
98 newElement.setAttributeNodeNS(newAttr);
103 ((Element) /* Node */testAddr).setAttributeNodeNS(newAttr);
120 // Attr newAttr;
136 // newAttr = doc.createAttributeNS("www.xyz.com", "emp:local1");
141 // genElement.setAttributeNodeNS(newAttr);
149 String namespaceURI = "http://www.newattr.com";
150 String qualifiedName = "emp:newAttr";
154 Attr newAttr;
160 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
162 .setAttributeNodeNS(newAttr);
169 Attr newAttr;
176 newAttr = doc.createAttributeNS("http://www.nist.gov", "xxx:domestic");
178 .setAttributeNodeNS(newAttr);
183 String namespaceURI = "http://www.newattr.com";
184 String qualifiedName = "emp:newAttr";
187 Attr newAttr;
193 newAttr = doc2.createAttributeNS(namespaceURI, qualifiedName);
200 ((Element) /* Node */testAddr).setAttributeNodeNS(newAttr);