/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | AttributesImplTest.java | 95 assertEquals("foo", multi.getLocalName(0)); in testGetLocalName() 96 assertEquals("bar", multi.getLocalName(1)); in testGetLocalName() 97 assertEquals("answer", multi.getLocalName(2)); in testGetLocalName() 98 assertEquals("gabbaHey", multi.getLocalName(3)); in testGetLocalName() 99 assertEquals("", multi.getLocalName(4)); in testGetLocalName() 102 assertEquals(null, multi.getLocalName(-1)); in testGetLocalName() 103 assertEquals(null, multi.getLocalName(5)); in testGetLocalName() 249 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testSetAttributes() 271 assertEquals("doe", multi.getLocalName(5)); in testAddAttribute() 281 assertEquals("doe", multi.getLocalName(6)); in testAddAttribute() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
D | Attributes2ImplTest.java | 75 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testSetAttributes() 92 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testSetAttributes() 125 assertEquals("doe", attrs.getLocalName(0)); in testAddAttribute() 140 assertEquals("doe", attrs.getLocalName(1)); in testAddAttribute() 158 assertEquals(multi.getLocalName(0), attrs.getLocalName(0)); in testRemoveAttribute() 166 assertEquals(multi.getLocalName(2), attrs.getLocalName(1)); in testRemoveAttribute() 200 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testAttributes2ImplAttributes() 217 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testAttributes2ImplAttributes()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | NodeGetLocalName.java | 84 localElemName = element.getLocalName(); in testGetLocalName() 85 localQElemName = qelement.getLocalName(); in testGetLocalName() 86 localAttrName = attr.getLocalName(); in testGetLocalName() 87 localQAttrName = qattr.getLocalName(); in testGetLocalName()
|
D | LocalName.java | 66 localName = addrAttr.getLocalName(); in testGetLocalName1() 75 localName = createdNode.getLocalName(); in testGetLocalName2() 88 localName = textNode.getLocalName(); in testGetLocalName3() 99 employeeLocalName = testEmployee.getLocalName(); in testGetLocalName4()
|
D | SetAttributeNS.java | 183 resultLocalName = addrAttr.getLocalName(); in testSetAttributeNS4() 275 resultLocalName = addrAttr.getLocalName(); in testSetAttributeNS9()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | nodegetlocalname03.java | 85 localElemName = element.getLocalName(); in runTest() 86 localQElemName = qelement.getLocalName(); in runTest() 87 localAttrName = attr.getLocalName(); in runTest() 88 localQAttrName = qattr.getLocalName(); in runTest()
|
D | localName02.java | 73 localName = createdNode.getLocalName(); in runTest()
|
D | localName03.java | 77 localName = textNode.getLocalName(); in runTest()
|
D | localName04.java | 80 employeeLocalName = testEmployee.getLocalName(); in runTest()
|
D | documentcreateelementNS01.java | 91 localName = element.getLocalName(); in runTest()
|
D | localName01.java | 84 localName = addrAttr.getLocalName(); in runTest()
|
D | getElementsByTagNameNS02.java | 86 lname = newElement.getLocalName(); in runTest()
|
D | getElementsByTagNameNS09.java | 90 lname = newElement.getLocalName(); in runTest()
|
D | setAttributeNS09.java | 91 resultLocalName = addrAttr.getLocalName(); in runTest()
|
D | setAttributeNS04.java | 96 resultLocalName = addrAttr.getLocalName(); in runTest()
|
D | importNode07.java | 98 lname = attr.getLocalName(); in runTest()
|
D | removeAttributeNS02.java | 96 localName = addrAttr.getLocalName(); in runTest()
|
D | elementgetattributenodens01.java | 92 attrLocalName = attribute.getLocalName(); in runTest()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | SaxTest.java | 47 assertOneOf("bar", "", attributes.getLocalName(0)); in testNoPrefixesNoNamespaces() 60 assertOneOf("a:bar", "", attributes.getLocalName(0)); in testNoPrefixesNoNamespaces() 75 assertEquals("bar", attributes.getLocalName(0)); in testNoPrefixesYesNamespaces() 88 assertEquals("bar", attributes.getLocalName(0)); in testNoPrefixesYesNamespaces() 107 assertEquals("bar", attributes.getLocalName(0)); in testYesPrefixesYesNamespaces() 120 assertEquals("bar", attributes.getLocalName(0)); in testYesPrefixesYesNamespaces() 123 assertEquals("", attributes.getLocalName(1)); in testYesPrefixesYesNamespaces() 138 assertOneOf("bar", "", attributes.getLocalName(0)); in testYesPrefixesNoNamespaces() 151 assertOneOf("a:bar", "", attributes.getLocalName(0)); in testYesPrefixesNoNamespaces()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatAttributes.java | 60 public String getLocalName(int index) { in getLocalName() method in ExpatAttributes 63 : getLocalName(getParserPointer(), getPointer(), index); in getLocalName() 147 private static native String getLocalName(long pointer, long attributePointer, int index); in getLocalName() method in ExpatAttributes
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | NodeImpl.java | 98 public String getLocalName() { in getLocalName() method in NodeImpl 519 if (target.isPrefixMappedToUri(attr.getLocalName(), namespaceURI)) { in lookupPrefix() 520 return attr.getLocalName(); in lookupPrefix() 584 : "xmlns".equals(attr.getPrefix()) && prefix.equals(attr.getLocalName())) { in lookupNamespaceURI() 604 values.add(node.getLocalName()); in createEqualityKey() 684 Node bNode = aNode.getLocalName() == null in namedNodeMapsEqual() 686 : b.getNamedItemNS(aNode.getNamespaceURI(), aNode.getLocalName()); in namedNodeMapsEqual()
|
D | AttrImpl.java | 59 public String getLocalName() { in getLocalName() method in AttrImpl
|
D | ElementImpl.java | 76 && Objects.equals(localName, attr.getLocalName())) { in indexOfAttributeNS() 176 public String getLocalName() { in getLocalName() method in ElementImpl 309 int i = indexOfAttributeNS(newAttr.getNamespaceURI(), newAttr.getLocalName()); in setAttributeNodeNS()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | Attributes.java | 115 public abstract String getLocalName (int index); in getLocalName() method
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | Node.java | 561 public String getLocalName(); in getLocalName() method
|