/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DocumentTypeImpl.java | 36 private String qualifiedName; field in DocumentTypeImpl 42 public DocumentTypeImpl(DocumentImpl document, String qualifiedName, in DocumentTypeImpl() argument 46 if (qualifiedName == null || "".equals(qualifiedName)) { in DocumentTypeImpl() 47 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName); in DocumentTypeImpl() 50 int prefixSeparator = qualifiedName.lastIndexOf(":"); in DocumentTypeImpl() 52 String prefix = qualifiedName.substring(0, prefixSeparator); in DocumentTypeImpl() 53 String localName = qualifiedName.substring(prefixSeparator + 1); in DocumentTypeImpl() 56 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName); in DocumentTypeImpl() 60 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName); in DocumentTypeImpl() 63 if (!DocumentImpl.isXMLIdentifier(qualifiedName)) { in DocumentTypeImpl() [all …]
|
D | DOMImplementationImpl.java | 42 public Document createDocument(String namespaceURI, String qualifiedName, in createDocument() argument 44 return new DocumentImpl(this, namespaceURI, qualifiedName, doctype, null); in createDocument() 47 public DocumentType createDocumentType(String qualifiedName, in createDocumentType() argument 49 return new DocumentTypeImpl(null, qualifiedName, publicId, systemId); in createDocumentType()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | DocumentCreateAttributeNS.java | 84 String qualifiedName = "test"; in testCreateAttributeNS1() local 89 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS1() 145 String qualifiedName; in testCreateAttributeNS3() local 159 qualifiedName = (String) qualifiedNames.get(indexN1005A); in testCreateAttributeNS3() 164 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS3() 176 String qualifiedName; in testCreateAttributeNS4() local 186 qualifiedName = (String) qualifiedNames.get(indexN1004E); in testCreateAttributeNS4() 193 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS4() 210 String qualifiedName = "abc:def"; in testCreateAttributeNS5() local 219 newDoc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS5() [all …]
|
D | CreateElementNS.java | 100 String qualifiedName = "prefix:local"; in testCreateElementNS2() local 108 doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS2() 117 String qualifiedName; in testCreateElementNS3() local 151 qualifiedName = (String) illegalQNames.get(indexN10098); in testCreateElementNS3() 156 doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS3() 166 String qualifiedName = "xml:element1"; in testCreateElementNS4() local 174 doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS4() 183 String qualifiedName = "gov:faculty"; in testCreateElementNS5() local 188 newElement = doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS5() 190 assertEquals("throw_Equals", qualifiedName, elementName); in testCreateElementNS5()
|
D | CreateAttributeNS.java | 82 String qualifiedName = "prefix:local"; in testCreateAttributeNS2() local 90 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS2() 99 String qualifiedName; in testCreateAttributeNS3() local 133 qualifiedName = (String) illegalQNames.get(indexN10090); in testCreateAttributeNS3() 137 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS3() 147 String qualifiedName = "xml:attr1"; in testCreateAttributeNS4() local 155 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS4() 164 String qualifiedName = "econm:local"; in testCreateAttributeNS5() local 169 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS5() 171 assertEquals("throw_Equals", qualifiedName, attrName); in testCreateAttributeNS5()
|
D | DocumentCreateElementNS.java | 59 String qualifiedName = "XML:XML"; in testCreateElementNS1() local 66 element = doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS1() 84 String qualifiedName = "^^"; in testCreateElementNS2() local 90 doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS2() 102 String qualifiedName = "null:xml"; in testCreateElementNS5() local 108 doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS5() 123 String qualifiedName = "xml:root"; in testCreateElementNS6() local 132 newDoc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS6()
|
D | SetAttributeNS.java | 81 String qualifiedName = "emp:qual?name"; in testSetAttributeNS1() local 93 qualifiedName, "newValue"); in testSetAttributeNS1() 102 String qualifiedName = "emp:"; in testSetAttributeNS2() local 115 qualifiedName, "newValue"); in testSetAttributeNS2() 192 String qualifiedName = "emp:newAttr"; in testSetAttributeNS5() local 203 qualifiedName, "<newValue>"); in testSetAttributeNS5() 210 String qualifiedName = "xml:qualifiedName"; in testSetAttributeNS6() local 222 qualifiedName, "newValue"); in testSetAttributeNS6() 231 String qualifiedName = "xmlns"; in testSetAttributeNS7() local 243 qualifiedName, "newValue"); in testSetAttributeNS7() [all …]
|
D | CreateDocument.java | 106 String qualifiedName = "k:local"; in testCreateDocument2() local 117 domImpl.createDocument(namespaceURI, qualifiedName, docType); in testCreateDocument2() 170 String qualifiedName; in testCreateDocument5() local 207 qualifiedName = (String) illegalQNames.get(indexN1009A); in testCreateDocument5() 212 domImpl.createDocument(namespaceURI, qualifiedName, docType); in testCreateDocument5() 222 String qualifiedName = "xml:local"; in testCreateDocument6() local 233 domImpl.createDocument(namespaceURI, qualifiedName, docType); in testCreateDocument6() 242 String qualifiedName = "y:x"; in testCreateDocument7() local 252 aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType); in testCreateDocument7()
|
D | DOMImplementationCreateDocument.java | 62 String qualifiedName; in testCreateDocument3() local 78 qualifiedName = (String) qualifiedNames.get(indexN1006B); in testCreateDocument3() 79 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, in testCreateDocument3() 90 String qualifiedName = "dom:root"; in testCreateDocument4() local 99 domImpl.createDocument(namespaceURI, qualifiedName, docType); in testCreateDocument4() 111 String qualifiedName = "xml:root"; in testCreateDocument5() local 120 domImpl.createDocument(namespaceURI, qualifiedName, docType); in testCreateDocument5()
|
D | DOMImplementationCreateDocumentType.java | 80 String qualifiedName = "test:root"; in testCreateDocumentType1() local 97 newDocType = domImpl.createDocumentType(qualifiedName, in testCreateDocumentType1() 116 String qualifiedName; in testCreateDocumentType2() local 136 qualifiedName = (String) qualifiedNames.get(indexN10077); in testCreateDocumentType2() 137 newDocType = domImpl.createDocumentType(qualifiedName, publicId, in testCreateDocumentType2() 153 String qualifiedName; in testCreateDocumentType4() local 173 qualifiedName = (String) qualifiedNames.get(indexN10077); in testCreateDocumentType4() 174 newDocType = domImpl.createDocumentType(qualifiedName, publicId, in testCreateDocumentType4()
|
D | SetAttributeNodeNS.java | 84 String qualifiedName = "emp:newAttr"; in testSetAttributeNode1() local 97 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetAttributeNode1() 150 String qualifiedName = "emp:newAttr"; in testSetAttributeNode3() local 160 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetAttributeNode3() 184 String qualifiedName = "emp:newAttr"; in testSetAttributeNode5() local 193 newAttr = doc2.createAttributeNS(namespaceURI, qualifiedName); in testSetAttributeNode5()
|
D | SetNamedItemNS.java | 105 String qualifiedName = "dmstc:domestic"; in testSetNamedItemNS2() local 115 arg = anotherDoc.createAttributeNS(namespaceURI, qualifiedName); in testSetNamedItemNS2() 133 String qualifiedName = "prefix:newAttr"; in testSetNamedItemNS3() local 143 arg = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetNamedItemNS3() 198 String qualifiedName = "dmstc:domestic"; in testSetNamedItemNS5() local 207 arg = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetNamedItemNS5()
|
D | GetAttributeNS.java | 93 String qualifiedName = "emp:district"; in testGetAttributeNS2() local 101 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); in testGetAttributeNS2() 129 String qualifiedName = "emp:blank"; in testGetAttributeNS4() local 137 doc.createAttributeNS(namespaceURI, qualifiedName); in testGetAttributeNS4() 141 testAddr.setAttributeNS(namespaceURI, qualifiedName, "NewValue"); in testGetAttributeNS4()
|
D | CreateDocumentType.java | 106 String qualifiedName; in testCreateDocumentType2() local 141 qualifiedName = (String) illegalQNames.get(indexN1009A); in testCreateDocumentType2() 147 domImpl.createDocumentType(qualifiedName, publicId, in testCreateDocumentType2() 158 String qualifiedName = "prefix:myDoc"; in testCreateDocumentType3() local 169 newType = domImpl.createDocumentType(qualifiedName, publicId, systemId); in testCreateDocumentType3()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | createElementNS05.java | 68 String qualifiedName = "gov:faculty"; in runTest() local 73 newElement = doc.createElementNS(namespaceURI, qualifiedName); in runTest() 75 assertEquals("throw_Equals", qualifiedName, elementName); in runTest()
|
D | createAttributeNS05.java | 68 String qualifiedName = "econm:local"; in runTest() local 73 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest() 75 assertEquals("throw_Equals", qualifiedName, attrName); in runTest()
|
D | documentcreateattributeNS04.java | 82 String qualifiedName; in runTest() local 92 qualifiedName = (String) qualifiedNames.get(indexN1004E); in runTest() 98 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
|
D | getAttributeNS04.java | 70 String qualifiedName = "emp:blank"; in runTest() local 78 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest() 82 testAddr.setAttributeNS(namespaceURI, qualifiedName, "NewValue"); in runTest()
|
D | elementsetattributens04.java | 68 String qualifiedName; in runTest() local 83 qualifiedName = (String) qualifiedNames.get(indexN10058); in runTest() 88 element.setAttributeNS("http://www.w3.org/DOM/Test/L2", qualifiedName, "test"); in runTest()
|
D | documentcreateattributeNS03.java | 83 String qualifiedName; in runTest() local 97 qualifiedName = (String) qualifiedNames.get(indexN1005A); in runTest() 102 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
|
D | domimplementationcreatedocumenttype04.java | 83 String qualifiedName; in runTest() local 103 qualifiedName = (String) qualifiedNames.get(indexN10073); in runTest() 108 newDocType = domImpl.createDocumentType(qualifiedName, publicId, systemId); in runTest()
|
D | domimplementationcreatedocumenttype02.java | 85 String qualifiedName; in runTest() local 105 qualifiedName = (String) qualifiedNames.get(indexN10077); in runTest() 106 newDocType = domImpl.createDocumentType(qualifiedName, publicId, systemId); in runTest()
|
D | domimplementationcreatedocument03.java | 91 String qualifiedName; in runTest() local 107 qualifiedName = (String) qualifiedNames.get(indexN1006B); in runTest() 108 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType); in runTest()
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | DOMImplementation.java | 53 public DocumentType createDocumentType(String qualifiedName, in createDocumentType() argument 106 String qualifiedName, in createDocument() argument
|
D | Document.java | 377 String qualifiedName) in createElementNS() argument 446 String qualifiedName) in createAttributeNS() argument 811 String qualifiedName) in renameNode() argument
|