Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/tests/api/org/xml/sax/ext/
DAttributes2ImplTest.java77 Attributes2Impl attrs = new Attributes2Impl(); in testSetAttributes() local
78 attrs.addAttribute("", "", "john", "string", "doe"); in testSetAttributes()
80 attrs.setAttributes(empty); in testSetAttributes()
81 assertEquals(0, attrs.getLength()); in testSetAttributes()
83 attrs.setAttributes(multi); in testSetAttributes()
85 assertEquals(multi.getURI(i), attrs.getURI(i)); in testSetAttributes()
86 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testSetAttributes()
87 assertEquals(multi.getQName(i), attrs.getQName(i)); in testSetAttributes()
88 assertEquals(multi.getType(i), attrs.getType(i)); in testSetAttributes()
89 assertEquals(multi.getValue(i), attrs.getValue(i)); in testSetAttributes()
[all …]
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
DAttributeListImplTest.java84 AttributeListImpl attrs = new AttributeListImpl(); in testSetAttributeList() local
85 attrs.addAttribute("doe", "boolean", "false"); in testSetAttributeList()
87 attrs.setAttributeList(empty); in testSetAttributeList()
88 assertEquals(0, attrs.getLength()); in testSetAttributeList()
90 attrs.setAttributeList(multi); in testSetAttributeList()
91 assertEquals(multi.getLength(), attrs.getLength()); in testSetAttributeList()
94 assertEquals(multi.getName(i), attrs.getName(i)); in testSetAttributeList()
95 assertEquals(multi.getType(i), attrs.getType(i)); in testSetAttributeList()
96 assertEquals(multi.getValue(i), attrs.getValue(i)); in testSetAttributeList()
101 attrs.setAttributeList(null); in testSetAttributeList()
[all …]
DAttributesImplTest.java322 AttributesImpl attrs = new AttributesImpl(); in testSetAttributes() local
323 attrs.addAttribute("http://yet.another.uri", "doe", "john:doe", in testSetAttributes()
326 attrs.setAttributes(empty); in testSetAttributes()
327 assertEquals(0, attrs.getLength()); in testSetAttributes()
329 attrs.setAttributes(multi); in testSetAttributes()
330 assertEquals(multi.getLength(), attrs.getLength()); in testSetAttributes()
333 assertEquals(multi.getURI(i), attrs.getURI(i)); in testSetAttributes()
334 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testSetAttributes()
335 assertEquals(multi.getQName(i), attrs.getQName(i)); in testSetAttributes()
336 assertEquals(multi.getType(i), attrs.getType(i)); in testSetAttributes()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DDalvikExecTest.java156 Attributes attrs = manifest.getMainAttributes(); in test_execCreatedJarWithManifest() local
157 attrs.put(Attributes.Name.MANIFEST_VERSION, "3.1415962"); in test_execCreatedJarWithManifest()
158 attrs.put(Attributes.Name.MAIN_CLASS, "dalvikExecTest.HelloWorld"); in test_execCreatedJarWithManifest()
159 attrs.put(Attributes.Name.CLASS_PATH, jarFile.getName()); in test_execCreatedJarWithManifest()
197 attrs = manifest.getMainAttributes(); in test_execCreatedJarWithManifest()
199 attrs.get(Attributes.Name.MANIFEST_VERSION)); in test_execCreatedJarWithManifest()
201 attrs.get(Attributes.Name.MAIN_CLASS)); in test_execCreatedJarWithManifest()
203 attrs.get(Attributes.Name.CLASS_PATH)); in test_execCreatedJarWithManifest()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dattrcreatedocumentfragment.java68 Attr attrs; in runTest() local
78 attrs = (Attr) domesticAttr.item(0); in runTest()
79 attrName = attrs.getName(); in runTest()
/libcore/luni/src/main/java/org/apache/xml/utils/
DAttList.java69 public AttList(NamedNodeMap attrs, DOMHelper dh) in AttList() argument
72 m_attrs = attrs; in AttList()
/libcore/luni/src/main/java/org/apache/xml/serializer/utils/
DAttList.java78 public AttList(NamedNodeMap attrs, DOM2Helper dh) in AttList() argument
81 m_attrs = attrs; in AttList()
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/
DDTMTreeWalker.java264 org.xml.sax.helpers.AttributesImpl attrs = in startNode() local
271 attrs.addAttribute(dtm.getNamespaceURI(i), in startNode()
282 attrs); in startNode()
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java145 NamedNodeMap attrs=m_root.getAttributes(); in DOM2DTM() local
146 int attrsize=(attrs==null) ? 0 : attrs.getLength(); in DOM2DTM()
155 attrIndex=addNode(attrs.item(i),0,attrIndex,NULL); in DOM2DTM()
533 NamedNodeMap attrs=next.getAttributes(); in nextNode() local
534 int attrsize=(attrs==null) ? 0 : attrs.getLength(); in nextNode()
542 attrIndex=addNode(attrs.item(i), in nextNode()
556 && "xmlns:xml".equals(attrs.item(i).getNodeName())) in nextNode()
/libcore/luni/src/main/java/org/apache/xml/serializer/dom3/
DDOM3TreeWalker.java1781 NamedNodeMap attrs = child.getAttributes(); in checkUnboundPrefixInEntRef() local
1783 for (int i = 0; i < attrs.getLength(); i++) { in checkUnboundPrefixInEntRef()
1784 String attrPrefix = attrs.item(i).getPrefix(); in checkUnboundPrefixInEntRef()
1793 attrs.item(i)}); in checkUnboundPrefixInEntRef()
/libcore/luni/src/main/java/org/apache/xalan/processor/
DStylesheetHandler.java1646 void pushSpaceHandling(Attributes attrs) in pushSpaceHandling() argument
1649 String value = attrs.getValue("xml:space"); in pushSpaceHandling()
/libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
DJDBCConnection.java506 public Struct createStruct(String type, Object[] attrs) in createStruct() argument