/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentcreateattributeNS01.java | 37 * namespaceURI, and a qualifiedName without a prefix. This should return a valid Attr 68 String namespaceURI = null; 75 attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
|
documentcreateattributeNS07.java | 48 * the namespaceURI is different from http://www.w3.org/2000/xmlns 51 * the qualifiedName as xmlns and namespaceURI as http://www.W3.org/2000/xmlns. 82 String namespaceURI = "http://www.W3.org/2000/xmlns"; 89 attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
|
documentcreateelementNS02.java | 47 * The method createElementNS creates an element of the given valid qualifiedName and NamespaceURI. 49 * Invoke the createElementNS method on this Document object with null values for namespaceURI, 80 String namespaceURI = null; 88 element = doc.createElementNS(namespaceURI, qualifiedName);
|
documentcreateelementNS05.java | 48 * the namespaceURI is null. 51 * namespaceURI, and a valid qualifiedName. Check if a NAMESPACE_ERR is thrown. 81 String namespaceURI = null; 89 element = doc.createElementNS(namespaceURI, qualifiedName);
|
domimplementationcreatedocument04.java | 48 * a prefix and the namespaceURI is null. 50 * Call the createDocument on this DOMImplementation with null namespaceURI and a 83 String namespaceURI = null; 94 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
domimplementationcreatedocument05.java | 48 * a prefix that is xml and the namespaceURI is different from 51 * Call the createDocument on this DOMImplementation with namespaceURI that is 83 String namespaceURI = "http://www.w3.org/xml/1998/namespace"; 93 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
domimplementationcreatedocument07.java | 50 * for namespaceURI and docType and a malformed qualifiedName. 81 String namespaceURI = "http://www.w3.org/DOMTest/level2"; 90 newDoc = domImpl.createDocument(namespaceURI, ":", docType);
|
elementsetattributensurinull.java | 47 * The "setAttributeNS(namespaceURI,qualifiedName,value)" method raises a 49 * qualifiedName has a prefix and the namespaceURI is null. 53 * prefix and the namespaceURI is null. 81 String namespaceURI = null; 94 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
getAttributeNodeNS01.java | 34 * The "getAttributeNodeNS(namespaceURI,localName)" method retrieves an 35 * attribute node by local name and NamespaceURI. 68 String namespaceURI = "http://www.nist.gov"; 78 attribute = testAddr.getAttributeNodeNS(namespaceURI, localName);
|
getElementsByTagNameNS01.java | 34 * The "getElementsByTagNameNS(namespaceURI,localName)" method for a 38 * Invoke method getElementsByTagNameNS(namespaceURI,localName) on this document 39 * with namespaceURI and localName as " ". 67 String namespaceURI = "*"; 72 newList = doc.getElementsByTagNameNS(namespaceURI, localName);
|
getElementsByTagNameNS05.java | 34 * The "getElementsByTagNameNS(namespaceURI,localName)" method returns a NodeList 39 * using the "http://www.nist.gov" as the namespaceURI and "nomatch" as the 69 String namespaceURI = "http://www.nist.gov"; 74 elementList = doc.getElementsByTagNameNS(namespaceURI, localName);
|
getNamedItemNS02.java | 34 * The "getNamedItemNS(namespaceURI,localName)" method for a 42 * method getNamedItemNS(namespaceURI,localName). 70 String namespaceURI = "http://www.usa.com"; 81 newAttr = (Attr) attributes.getNamedItemNS(namespaceURI, localName);
|
hasAttributeNS01.java | 68 String namespaceURI = "http://www.usa.com"; 76 state = testNode.hasAttributeNS(namespaceURI, localName);
|
hasAttributeNS02.java | 67 String namespaceURI = "http://www.nomatch.com"; 75 state = testNode.hasAttributeNS(namespaceURI, localName);
|
hasAttributeNS03.java | 67 String namespaceURI = "http://www.nist.gov"; 76 state = testNode.hasAttributeNS(namespaceURI, localName);
|
prefix11.java | 36 * prefix is set on a node with a namespaceURI that is null. 40 * on a node whose namespaceURI is null. 72 String namespaceURI; 76 namespaceURI = employeeNode.getNamespaceURI();
|
setAttributeNS01.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,Value)" method raises a 69 String namespaceURI = "http://www.nist.gov"; 81 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS02.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,value)" method raises a 68 String namespaceURI = "http://www.nist.gov"; 81 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS06.java | 34 * The "setAttributeNS(namespaceURI,localName,value)" method raises a 36 * prefix of "xml" and the namespaceURI is different from 40 * An exception should be raised since the namespaceURI of this node is not 70 String namespaceURI = "http://www.nist.gov"; 82 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS07.java | 34 * The "setAttributeNS(namespaceURI,localName,value)" method raises a 36 * value of "xmlns" and the namespaceURI is different from 41 * An exception should be raised since the namespaceURI of this node is not 71 String namespaceURI = "http://www.nist.gov"; 83 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS10.java | 63 String namespaceURI = "http://www.example.gov"; 74 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, "", "newValue");
|
setAttributeNodeNS03.java | 35 * If an attribute with that local name and that namespaceURI is already 40 * and namespaceURI as the newly created attribute does not exist 42 * This test uses the "createAttributeNS(namespaceURI,localName) 70 String namespaceURI = "http://www.newattr.com"; 81 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
NamedNodeMap.cpp | 58 PassRefPtr<Node> NamedNodeMap::getNamedItemNS(const AtomicString& namespaceURI, const AtomicString& localName) const 60 return m_element->getAttributeNodeNS(namespaceURI, localName); 73 PassRefPtr<Node> NamedNodeMap::removeNamedItemNS(const AtomicString& namespaceURI, const AtomicString& localName, ExceptionState& es) 75 size_t index = m_element->hasAttributes() ? m_element->getAttributeItemIndex(QualifiedName(nullAtom, localName, namespaceURI)) : notFound;
|
/libcore/luni/src/main/java/org/w3c/dom/ |
DOMImplementation.java | 71 * @param namespaceURI The namespace URI of the document element to 80 * If the <code>NamespaceURI</code>, <code>qualifiedName</code>, and 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,
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XSLTProcessor.h | 59 void setParameter(const String& namespaceURI, const String& localName, const String& value); 60 String getParameter(const String& namespaceURI, const String& localName) const; 61 void removeParameter(const String& namespaceURI, const String& localName);
|