/libcore/luni/src/main/java/javax/xml/namespace/ |
H A D | NamespaceContext.java | 135 * scope, use {@link #getPrefixes(String namespaceURI)}.</p> 145 * <code>getPrefix(namespaceURI)</code> return value for 188 * @param namespaceURI URI of Namespace to lookup 191 String getPrefix(String namespaceURI); argument 212 * getPrefixes(namespaceURI)</code> return value for 251 * @param namespaceURI URI of Namespace to lookup 255 Iterator getPrefixes(String namespaceURI); argument
|
H A D | QName.java | 97 private final String namespaceURI; field in class:QName 145 * @param namespaceURI Namespace URI of the <code>QName</code> 148 * @see #QName(String namespaceURI, String localPart, String 149 * prefix) QName(String namespaceURI, String localPart, String 152 public QName(final String namespaceURI, final String localPart) { argument 153 this(namespaceURI, localPart, XMLConstants.DEFAULT_NS_PREFIX); 189 * @param namespaceURI Namespace URI of the <code>QName</code> 193 public QName(String namespaceURI, String localPart, String prefix) { argument 196 if (namespaceURI == null) { 197 this.namespaceURI [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | JTidyDOMImplementation.java | 85 * @param namespaceURI The namespace URI of the document element to 99 * <code>namespaceURI</code> is <code>null</code>, or if the 101 * <code>namespaceURI</code> is different from " 117 public Document createDocument(String namespaceURI, argument
|
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | DOMImplementation.java | 71 * @param namespaceURI The namespace URI of the document element to 88 * <code>namespaceURI</code> is <code>null</code>, or if the 90 * <code>namespaceURI</code> is different from <code>null</code>, or 92 * the <code>namespaceURI</code> is different from "<a href='http://www.w3.org/XML/1998/namespace'> 105 public Document createDocument(String namespaceURI, argument
|
H A D | NameList.java | 35 * Returns the <code>index</code>th namespaceURI item in the collection. 44 * The number of pairs (name and namespaceURI) in the list. The range of 58 * Test if the pair namespaceURI/name is part of this 60 * @param namespaceURI The namespace URI to look for. 62 * @return <code>true</code> if the pair namespaceURI/name has been 65 public boolean containsNS(String namespaceURI, argument
|
H A D | NamedNodeMap.java | 104 * , applications must use the value null as the namespaceURI parameter 106 * @param namespaceURI The namespace URI of the node to retrieve. 117 public Node getNamedItemNS(String namespaceURI, argument 122 * Adds a node using its <code>namespaceURI</code> and 127 * , applications must use the value null as the namespaceURI parameter 130 * accessible using the value of its <code>namespaceURI</code> and 164 * , applications must use the value null as the namespaceURI parameter 166 * @param namespaceURI The namespace URI of the node to remove. 172 * <code>namespaceURI</code> and <code>localName</code> in this map. 179 public Node removeNamedItemNS(String namespaceURI, argument [all...] |
H A D | Element.java | 167 * <code>namespaceURI</code> parameter for methods if they wish to have 169 * @param namespaceURI The namespace URI of the attribute to retrieve. 179 public String getAttributeNS(String namespaceURI, argument 200 * <code>namespaceURI</code> parameter for methods if they wish to have 202 * @param namespaceURI The namespace URI of the attribute to create or 215 * <code>namespaceURI</code> is <code>null</code>, if the 217 * <code>namespaceURI</code> is different from "<a href='http://www.w3.org/XML/1998/namespace'> 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". 225 public void setAttributeNS(String namespaceURI, argument 254 removeAttributeNS(String namespaceURI, String localName) argument 275 getAttributeNodeNS(String namespaceURI, String localName) argument 324 getElementsByTagNameNS(String namespaceURI, String localName) argument 359 hasAttributeNS(String namespaceURI, String localName) argument 412 setIdAttributeNS(String namespaceURI, String localName, boolean isId) argument [all...] |
H A D | Document.java | 79 * <code>namespaceURI</code> set to <code>null</code>. 150 * <code>prefix</code>, and <code>namespaceURI</code> set to 168 * <code>namespaceURI</code> is <code>null</code>). The DOM Level 2 and 210 * <code>localName</code>, and <code>namespaceURI</code>). As in the 320 * namespaceURI parameter for methods if they wish to have no namespace. 321 * @param namespaceURI The namespace URI of the element to create. 337 * <td valign='top' rowspan='1' colspan='1'><code>Node.namespaceURI</code></td> 339 * <code>namespaceURI</code></td> 365 * prefix and the <code>namespaceURI</code> is <code>null</code>, or 367 * the <code>namespaceURI</cod 376 createElementNS(String namespaceURI, String qualifiedName) argument 445 createAttributeNS(String namespaceURI, String qualifiedName) argument 460 getElementsByTagNameNS(String namespaceURI, String localName) argument 809 renameNode(Node n, String namespaceURI, String qualifiedName) argument [all...] |
H A D | Node.java | 507 * <code>namespaceURI</code> and <code>localName</code> do not change. 529 * <code>namespaceURI</code> and <code>localName</code> do not change. 541 * <code>namespaceURI</code> of this node is <code>null</code>, if the 542 * specified prefix is "xml" and the <code>namespaceURI</code> of this 545 * the <code>namespaceURI</code> of this node is different from "<a href='http://www.w3.org/2000/xmlns/'>http://www.w3.org/2000/xmlns/</a>", or if this node is an attribute and the <code>qualifiedName</code> of 749 * @param namespaceURI The namespace URI to look for. 756 public String lookupPrefix(String namespaceURI); argument 759 * This method checks if the specified <code>namespaceURI</code> is the 761 * @param namespaceURI The namespace URI to look for. 763 * <code>namespaceURI</cod 767 isDefaultNamespace(String namespaceURI) argument [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
H A D | LSResourceResolver.java | 60 * @param namespaceURI The namespace of the resource being resolved, 76 String namespaceURI, 75 resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) argument
|
/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);
|
H A D | AttrImpl.java | 42 String namespaceURI; field in class:AttrImpl 48 AttrImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { argument 50 setNameNS(this, namespaceURI, qualifiedName); 71 return namespaceURI; 107 this.prefix = validatePrefix(prefix, namespaceAware, namespaceURI);
|
H A D | InnerNodeImpl.java | 247 void getElementsByTagNameNS(NodeListImpl out, String namespaceURI, String localName) { argument 251 if (matchesNameOrWildcard(namespaceURI, element.getNamespaceURI()) 255 element.getElementsByTagNameNS(out, namespaceURI, localName);
|
H A D | ElementImpl.java | 43 String namespaceURI; field in class:ElementImpl 49 ElementImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { argument 51 setNameNS(this, namespaceURI, qualifiedName); 70 private int indexOfAttributeNS(String namespaceURI, String localName) { argument 73 if (Objects.equal(namespaceURI, attr.getNamespaceURI()) 92 public String getAttributeNS(String namespaceURI, String localName) { argument 93 Attr attr = getAttributeNodeNS(namespaceURI, localName); 112 public AttrImpl getAttributeNodeNS(String namespaceURI, String localName) { argument 113 int i = indexOfAttributeNS(namespaceURI, localName); 167 public NodeList getElementsByTagNameNS(String namespaceURI, Strin argument 207 hasAttributeNS(String namespaceURI, String localName) argument 224 removeAttributeNS(String namespaceURI, String localName) argument 257 setAttributeNS(String namespaceURI, String qualifiedName, String value) argument 334 indexOfItemNS(String namespaceURI, String localName) argument 342 getNamedItemNS(String namespaceURI, String localName) argument 360 removeNamedItemNS(String namespaceURI, String localName) argument 402 setIdAttributeNS(String namespaceURI, String localName, boolean isId) argument [all...] |
H A D | DocumentImpl.java | 76 public DocumentImpl(DOMImplementationImpl impl, String namespaceURI, argument 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); 395 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) { argument 397 getElementsByTagNameNS(result, namespaceURI, localNam [all...] |
H A D | NodeImpl.java | 201 * @param namespaceURI this node's namespace URI 203 static String validatePrefix(String prefix, boolean namespaceAware, String namespaceURI) { argument 209 if (namespaceURI == null 211 || "xml".equals(prefix) && !"http://www.w3.org/XML/1998/namespace".equals(namespaceURI) 212 || "xmlns".equals(prefix) && !"http://www.w3.org/2000/xmlns/".equals(namespaceURI)) { 225 * @param namespaceURI this node's namespace URI. May be null. 228 static void setNameNS(NodeImpl node, String namespaceURI, String qualifiedName) { argument 236 prefix = validatePrefix(qualifiedName.substring(0, p), true, namespaceURI); 247 && !"http://www.w3.org/2000/xmlns/".equals(namespaceURI)) { 253 attr.namespaceURI 490 lookupPrefix(String namespaceURI) argument 550 isDefaultNamespace(String namespaceURI) argument [all...] |