Home
last modified time | relevance | path

Searched refs:newAttr (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/tests/org/w3c/dom/
DSetAttributeNodeNS.java87 Attr newAttr; in testSetAttributeNode1() local
97 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetAttributeNode1()
98 newElement.setAttributeNodeNS(newAttr); in testSetAttributeNode1()
103 ((Element) /* Node */testAddr).setAttributeNodeNS(newAttr); in testSetAttributeNode1()
154 Attr newAttr; in testSetAttributeNode3() local
160 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetAttributeNode3()
162 .setAttributeNodeNS(newAttr); in testSetAttributeNode3()
169 Attr newAttr; in testSetAttributeNode4() local
176 newAttr = doc.createAttributeNS("http://www.nist.gov", "xxx:domestic"); in testSetAttributeNode4()
178 .setAttributeNodeNS(newAttr); in testSetAttributeNode4()
[all …]
DOwnerElement.java93 Attr newAttr; in testGetOwnerElement2() local
96 newAttr = doc.createAttribute("newAttribute"); in testGetOwnerElement2()
97 elementNode = newAttr.getOwnerElement(); in testGetOwnerElement2()
DGetNamedItemNS.java77 Attr newAttr; in testGetNamedItemNS2() local
82 newAttr = (Attr) attributes.getNamedItemNS(namespaceURI, localName); in testGetNamedItemNS2()
83 assertNull("throw_Null", newAttr); in testGetNamedItemNS2()
DRemoveNamedItemNS.java82 Attr newAttr; in testRemoveNamedItemNS1() local
91 newAttr = (Attr) attributes.getNamedItem("dmstc:domestic"); in testRemoveNamedItemNS1()
92 assertNull("nodeRemoved", newAttr); in testRemoveNamedItemNS1()
DElementSetAttributeNodeNS.java115 Attr newAttr; in testSetAttributeNodeNS2() local
128 newAttr = element2.setAttributeNodeNS(attributeCloned); in testSetAttributeNodeNS2()
129 attrName = newAttr.getNodeName(); in testSetAttributeNodeNS2()
130 attrValue = newAttr.getNodeValue(); in testSetAttributeNodeNS2()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DsetAttributeNodeNS01.java78 Attr newAttr; in runTest() local
90 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
91 setAttr1 = newElement.setAttributeNodeNS(newAttr); in runTest()
96 setAttr2 = ((Element) /*Node */testAddr).setAttributeNodeNS(newAttr); in runTest()
DownerElement02.java67 Attr newAttr; in runTest() local
70 newAttr = doc.createAttribute("newAttribute"); in runTest()
71 elementNode = newAttr.getOwnerElement(); in runTest()
Delementsetattributenodens02.java77 Attr newAttr; in runTest() local
89 newAttr = element2.setAttributeNodeNS(attributeCloned); in runTest()
90 attrName = newAttr.getNodeName(); in runTest()
91 attrValue = newAttr.getNodeValue(); in runTest()
DcreateAttributeNS05.java70 Attr newAttr; in runTest() local
73 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
74 attrName = newAttr.getName(); in runTest()
DsetAttributeNodeNS03.java75 Attr newAttr; in runTest() local
81 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
82 newAddrAttr = ((Element) /*Node */testAddr).setAttributeNodeNS(newAttr); in runTest()
DgetNamedItemNS02.java76 Attr newAttr; in runTest() local
81 newAttr = (Attr) attributes.getNamedItemNS(namespaceURI, localName); in runTest()
82 assertNull("throw_Null", newAttr); in runTest()
DimportNode01.java76 Attr newAttr; in runTest() local
96 newAttr = aNewDoc.createAttribute("elem:attr1"); in runTest()
98 aNode = newAttr.appendChild(importedChild); in runTest()
99 aNode = doc.importNode(newAttr, false); in runTest()
DsetAttributeNodeNS05.java79 Attr newAttr; in runTest() local
85 newAttr = doc2.createAttributeNS(namespaceURI, qualifiedName); in runTest()
92 setAttr1 = ((Element) /*Node */testAddr).setAttributeNodeNS(newAttr); in runTest()
DremoveNamedItemNS01.java79 Attr newAttr; in runTest() local
87 newAttr = (Attr) attributes.getNamedItem("dmstc:domestic"); in runTest()
88 assertNull("nodeRemoved", newAttr); in runTest()
DsetAttributeNodeNS04.java79 Attr newAttr; in runTest() local
86 newAttr = doc.createAttributeNS("http://www.nist.gov", "xxx:domestic"); in runTest()
87 newAddrAttr = ((Element) /*Node */testAddr).setAttributeNodeNS(newAttr); in runTest()
DsetAttributeNodeNS02.java84 Attr newAttr; in runTest() local
100 newAttr = doc.createAttributeNS("www.xyz.com", "emp:local1"); in runTest()
105 setAttr1 = genElement.setAttributeNodeNS(newAttr); in runTest()
DcreateAttributeNS06.java65 Attr newAttr; in runTest() local
71 newAttr = doc.createAttributeNS(namespaceURI, ""); in runTest()
DcreateAttributeNS01.java73 Attr newAttr; in runTest() local
79 newAttr = doc.createAttributeNS(namespaceURI, malformedName); in runTest()
DcreateAttributeNS02.java73 Attr newAttr; in runTest() local
79 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
DcreateAttributeNS04.java75 Attr newAttr; in runTest() local
81 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
Dattrgetownerelement02.java76 Attr newAttr; in runTest() local
80 newAttr = element.setAttributeNodeNS(attr); in runTest()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Delementsetattributenodenomodificationallowederr.java73 Attr newAttr; in runTest() local
89 newAttr = doc.createAttribute("newAttr"); in runTest()
94 badAttr = entElement.setAttributeNode(newAttr); in runTest()
DelementsetattributenodenomodificationallowederrEE.java79 Attr newAttr; in runTest() local
90 newAttr = doc.createAttribute("newAttr"); in runTest()
95 badAttr = entElement.setAttributeNode(newAttr); in runTest()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DElementImpl.java269 public Attr setAttributeNode(Attr newAttr) throws DOMException { in setAttributeNode() argument
270 AttrImpl newAttrImpl = (AttrImpl) newAttr; in setAttributeNode()
282 int i = indexOfAttribute(newAttr.getName()); in setAttributeNode()
294 public Attr setAttributeNodeNS(Attr newAttr) throws DOMException { in setAttributeNodeNS() argument
295 AttrImpl newAttrImpl = (AttrImpl) newAttr; in setAttributeNodeNS()
307 int i = indexOfAttributeNS(newAttr.getNamespaceURI(), newAttr.getLocalName()); in setAttributeNodeNS()
/libcore/luni/src/main/java/org/w3c/dom/
DElement.java131 public Attr setAttributeNode(Attr newAttr) in setAttributeNode() argument
305 public Attr setAttributeNodeNS(Attr newAttr) in setAttributeNodeNS() argument

12