Home
last modified time | relevance | path

Searched refs:qualifiedName (Results 1 – 25 of 78) sorted by relevance

1234

/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDocumentTypeImpl.java36 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 …]
DDOMImplementationImpl.java42 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/
DDocumentCreateAttributeNS.java84 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 …]
DCreateElementNS.java100 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()
DCreateAttributeNS.java82 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()
DDocumentCreateElementNS.java59 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()
DSetAttributeNS.java81 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 …]
DCreateDocument.java106 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()
DDOMImplementationCreateDocument.java62 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()
DDOMImplementationCreateDocumentType.java80 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()
DSetAttributeNodeNS.java84 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()
DSetNamedItemNS.java105 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()
DGetAttributeNS.java93 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()
DCreateDocumentType.java106 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/
DcreateElementNS05.java68 String qualifiedName = "gov:faculty"; in runTest() local
73 newElement = doc.createElementNS(namespaceURI, qualifiedName); in runTest()
75 assertEquals("throw_Equals", qualifiedName, elementName); in runTest()
DcreateAttributeNS05.java68 String qualifiedName = "econm:local"; in runTest() local
73 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
75 assertEquals("throw_Equals", qualifiedName, attrName); in runTest()
DdocumentcreateattributeNS04.java82 String qualifiedName; in runTest() local
92 qualifiedName = (String) qualifiedNames.get(indexN1004E); in runTest()
98 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
DgetAttributeNS04.java70 String qualifiedName = "emp:blank"; in runTest() local
78 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
82 testAddr.setAttributeNS(namespaceURI, qualifiedName, "NewValue"); in runTest()
Delementsetattributens04.java68 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()
DdocumentcreateattributeNS03.java83 String qualifiedName; in runTest() local
97 qualifiedName = (String) qualifiedNames.get(indexN1005A); in runTest()
102 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
Ddomimplementationcreatedocumenttype04.java83 String qualifiedName; in runTest() local
103 qualifiedName = (String) qualifiedNames.get(indexN10073); in runTest()
108 newDocType = domImpl.createDocumentType(qualifiedName, publicId, systemId); in runTest()
Ddomimplementationcreatedocumenttype02.java85 String qualifiedName; in runTest() local
105 qualifiedName = (String) qualifiedNames.get(indexN10077); in runTest()
106 newDocType = domImpl.createDocumentType(qualifiedName, publicId, systemId); in runTest()
Ddomimplementationcreatedocument03.java91 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/
DDOMImplementation.java53 public DocumentType createDocumentType(String qualifiedName, in createDocumentType() argument
106 String qualifiedName, in createDocument() argument
DDocument.java377 String qualifiedName) in createElementNS() argument
446 String qualifiedName) in createAttributeNS() argument
811 String qualifiedName) in renameNode() argument

1234