Home
last modified time | relevance | path

Searched refs:getLocalName (Results 1 – 25 of 40) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributesImplTest.java95 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/
DAttributes2ImplTest.java75 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/
DNodeGetLocalName.java84 localElemName = element.getLocalName(); in testGetLocalName()
85 localQElemName = qelement.getLocalName(); in testGetLocalName()
86 localAttrName = attr.getLocalName(); in testGetLocalName()
87 localQAttrName = qattr.getLocalName(); in testGetLocalName()
DLocalName.java66 localName = addrAttr.getLocalName(); in testGetLocalName1()
75 localName = createdNode.getLocalName(); in testGetLocalName2()
88 localName = textNode.getLocalName(); in testGetLocalName3()
99 employeeLocalName = testEmployee.getLocalName(); in testGetLocalName4()
DSetAttributeNS.java183 resultLocalName = addrAttr.getLocalName(); in testSetAttributeNS4()
275 resultLocalName = addrAttr.getLocalName(); in testSetAttributeNS9()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Dnodegetlocalname03.java85 localElemName = element.getLocalName(); in runTest()
86 localQElemName = qelement.getLocalName(); in runTest()
87 localAttrName = attr.getLocalName(); in runTest()
88 localQAttrName = qattr.getLocalName(); in runTest()
DlocalName02.java73 localName = createdNode.getLocalName(); in runTest()
DlocalName03.java77 localName = textNode.getLocalName(); in runTest()
DlocalName04.java80 employeeLocalName = testEmployee.getLocalName(); in runTest()
DdocumentcreateelementNS01.java91 localName = element.getLocalName(); in runTest()
DlocalName01.java84 localName = addrAttr.getLocalName(); in runTest()
DgetElementsByTagNameNS02.java86 lname = newElement.getLocalName(); in runTest()
DgetElementsByTagNameNS09.java90 lname = newElement.getLocalName(); in runTest()
DsetAttributeNS09.java91 resultLocalName = addrAttr.getLocalName(); in runTest()
DsetAttributeNS04.java96 resultLocalName = addrAttr.getLocalName(); in runTest()
DimportNode07.java98 lname = attr.getLocalName(); in runTest()
DremoveAttributeNS02.java96 localName = addrAttr.getLocalName(); in runTest()
Delementgetattributenodens01.java92 attrLocalName = attribute.getLocalName(); in runTest()
/libcore/luni/src/test/java/libcore/xml/
DSaxTest.java47 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/
DExpatAttributes.java60 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/
DNodeImpl.java98 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()
DAttrImpl.java59 public String getLocalName() { in getLocalName() method in AttrImpl
DElementImpl.java76 && 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/
DAttributes.java115 public abstract String getLocalName (int index); in getLocalName() method
/libcore/luni/src/main/java/org/w3c/dom/
DNode.java561 public String getLocalName(); in getLocalName() method

12