Searched defs:qualifiedName (Results 1 - 10 of 10) sorted by relevance

/libcore/dom/src/test/java/org/w3c/domts/
H A DJTidyDOMImplementation.java57 * @param qualifiedName The qualified name of the document type to be
66 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
76 public DocumentType createDocumentType(String qualifiedName, argument
87 * @param qualifiedName The qualified name of the document element to be
97 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
98 * malformed, if the <code>qualifiedName</code> has a prefix and the
100 * <code>qualifiedName</code> has a prefix that is "xml" and the
118 String qualifiedName,
117 createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) argument
/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMImplementation.java37 * @param qualifiedName The qualified name of the document type to be
46 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
53 public DocumentType createDocumentType(String qualifiedName, argument
73 * @param qualifiedName The qualified name of the document element to be
80 * If the <code>NamespaceURI</code>, <code>qualifiedName</code>, and
86 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
87 * malformed, if the <code>qualifiedName</code> has a prefix and the
89 * <code>qualifiedName</code> is <code>null</code> and the
91 * if the <code>qualifiedName</code> has a prefix that is "xml" and
106 String qualifiedName,
105 createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) argument
[all...]
H A DElement.java186 * changed to be the prefix part of the <code>qualifiedName</code>, and
204 * @param qualifiedName The qualified name of the attribute to create or
212 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
214 * <code>qualifiedName</code> has a prefix and the
216 * <code>qualifiedName</code> has a prefix that is "xml" and the
218 * http://www.w3.org/XML/1998/namespace</a>", if the <code>qualifiedName</code> or its prefix is "xmlns" and the
219 * <code>namespaceURI</code> is different from "<a href='http://www.w3.org/2000/xmlns/'>http://www.w3.org/2000/xmlns/</a>", or if the <code>namespaceURI</code> is "<a href='http://www.w3.org/2000/xmlns/'>http://www.w3.org/2000/xmlns/</a>" and neither the <code>qualifiedName</code> nor its prefix is "xmlns".
226 String qualifiedName,
225 setAttributeNS(String namespaceURI, String qualifiedName, String value) argument
H A DDocument.java322 * @param qualifiedName The qualified name of the element type to
334 * <code>qualifiedName</code></td>
344 * from <code>qualifiedName</code>, or <code>null</code> if there is
350 * <code>qualifiedName</code></td>
355 * <code>qualifiedName</code></td>
360 * <code>qualifiedName</code> is not an XML name according to the XML
363 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is a
364 * malformed qualified name, if the <code>qualifiedName</code> has a
366 * if the <code>qualifiedName</code> has a prefix that is "xml" and
369 * , or if the <code>qualifiedName</cod
376 createElementNS(String namespaceURI, String qualifiedName) argument
445 createAttributeNS(String namespaceURI, String qualifiedName) argument
809 renameNode(Node n, String namespaceURI, String qualifiedName) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDOMImplementationImpl.java42 public Document createDocument(String namespaceURI, String qualifiedName, argument
44 return new DocumentImpl(this, namespaceURI, qualifiedName, doctype, null);
47 public DocumentType createDocumentType(String qualifiedName, argument
49 return new DocumentTypeImpl(null, qualifiedName, publicId, systemId);
H A DDocumentTypeImpl.java36 private String qualifiedName; field in class:DocumentTypeImpl
42 public DocumentTypeImpl(DocumentImpl document, String qualifiedName, argument
46 if (qualifiedName == null || "".equals(qualifiedName)) {
47 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName);
50 int prefixSeparator = qualifiedName.lastIndexOf(":");
52 String prefix = qualifiedName.substring(0, prefixSeparator);
53 String localName = qualifiedName.substring(prefixSeparator + 1);
56 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName);
60 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName);
[all...]
H A DAttrImpl.java48 AttrImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { argument
50 setNameNS(this, namespaceURI, qualifiedName);
H A DElementImpl.java49 ElementImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { argument
51 setNameNS(this, namespaceURI, qualifiedName);
257 public void setAttributeNS(String namespaceURI, String qualifiedName, argument
259 Attr attr = getAttributeNodeNS(namespaceURI, qualifiedName);
262 attr = document.createAttributeNS(namespaceURI, qualifiedName);
H A DDocumentImpl.java77 String qualifiedName, DocumentType doctype, String inputEncoding) {
87 if (qualifiedName != null) {
88 appendChild(createElementNS(namespaceURI, qualifiedName));
313 public Node renameNode(Node node, String namespaceURI, String qualifiedName) { argument
318 setNameNS((NodeImpl) node, namespaceURI, qualifiedName);
327 public AttrImpl createAttributeNS(String namespaceURI, String qualifiedName) { argument
328 return new AttrImpl(this, namespaceURI, qualifiedName);
347 public ElementImpl createElementNS(String namespaceURI, String qualifiedName) { argument
348 return new ElementImpl(this, namespaceURI, qualifiedName);
76 DocumentImpl(DOMImplementationImpl impl, String namespaceURI, String qualifiedName, DocumentType doctype, String inputEncoding) argument
H A DNodeImpl.java226 * @param qualifiedName a possibly-prefixed name like "img" or "html:img".
228 static void setNameNS(NodeImpl node, String namespaceURI, String qualifiedName) { argument
229 if (qualifiedName == null) {
230 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName);
234 int p = qualifiedName.lastIndexOf(":");
236 prefix = validatePrefix(qualifiedName.substring(0, p), true, namespaceURI);
237 qualifiedName = qualifiedName.substring(p + 1);
240 if (!DocumentImpl.isXMLIdentifier(qualifiedName)) {
241 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName);
[all...]

Completed in 503 milliseconds