/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | JTidyDOMImplementation.java | 57 * @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 D | DOMImplementation.java | 37 * @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 D | Element.java | 186 * 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 D | Document.java | 322 * @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 D | DOMImplementationImpl.java | 42 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 D | DocumentTypeImpl.java | 36 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 D | AttrImpl.java | 48 AttrImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { argument 50 setNameNS(this, namespaceURI, qualifiedName);
|
H A D | ElementImpl.java | 49 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 D | DocumentImpl.java | 77 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 D | NodeImpl.java | 226 * @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...] |