/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentimportnode05.java | 41 * Check the nodeName, nodeType and nodeValue namespaceURI of the imported node to 84 String namespaceURI; 92 namespaceURI = importedAttr.getNamespaceURI(); 96 assertEquals("documentimportnode05_namespaceURI", "http://www.w3.org/DOM/Test", namespaceURI);
|
getAttributeNS02.java | 34 * The "getAttributeNS(namespaceURI,localName)" method retrieves an 35 * attribute value by local name and NamespaceURI. 68 String namespaceURI = "http://www.nist.gov"; 78 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); 85 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
|
removeAttributeNS02.java | 34 * The "removeAttributeNS(namespaceURI,localName)" removes an attribute by 41 * attribute by invoking the "removeAttributeNS(namespaceURI,localName)" method. 84 String namespaceURI; 95 namespaceURI = addrAttr.getNamespaceURI(); 99 assertEquals("uri", "http://www.nist.gov", namespaceURI);
|
setAttributeNS05.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,value)" method adds a new attribute. 72 String namespaceURI = "http://www.newattr.com"; 83 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "<newValue>"); 84 resultAttr = ((Element) /*Node */testAddr).getAttributeNS(namespaceURI, localName);
|
setNamedItemNS03.java | 35 * NamedNodeMap should add a node using its namespaceURI and localName given that 36 * there is no existing node with the same namespaceURI and localName in the map. 38 * Create an attr node with namespaceURI "http://www.nist.gov",qualifiedName 41 * element where arg is identified by the namespaceURI and qualifiedName 69 String namespaceURI = "http://www.nist.gov"; 80 arg = doc.createAttributeNS(namespaceURI, qualifiedName); 86 retnode = attributes.getNamedItemNS(namespaceURI, "newAttr");
|
createDocument04.java | 34 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a 38 * Invoke method createDocument(namespaceURI,qualifiedName,doctype) on 71 String namespaceURI = "http://www.ecommerce.org/schema"; 72 String qualifiedName = "namespaceURI:x"; 85 aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
documentcreateattributeNS03.java | 51 * namespaceURI, and qualifiedNames that contain illegal characters. Check if the an 82 String namespaceURI = "http://www.w3.org/DOM/Test/Level2"; 102 attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
|
documentcreateattributeNS04.java | 51 * namespaceURI, and malformed qualifiedNames. Check if the a NAMESPACE_ERR was thrown. 81 String namespaceURI = "http://www.w3.org/DOM/Test/Level2"; 98 attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
|
documentcreateattributeNS05.java | 35 * the namespaceURI is null. 38 * namespaceURI, and a valid qualifiedName. Check if a NAMESPACE_ERR is thrown. 72 String namespaceURI = null; 82 attribute = newDoc.createAttributeNS(namespaceURI, qualifiedName);
|
documentcreateattributeNS06.java | 35 * is "xml" and the namespaceURI is different from "http://www.w3.org/XML/1998/namespace". 38 * as xml:root and namespaceURI as http://www.w3.org/XML/1998 /namespace. 73 String namespaceURI = "http://www.w3.org/XML/1998 /namespace"; 82 attribute = newDoc.createAttributeNS(namespaceURI, qualifiedName);
|
documentcreateelementNS01.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 a valid namespaceURI 80 String namespaceURI = "http://www.w3.org/DOM/Test/level2"; 88 element = doc.createElementNS(namespaceURI, qualifiedName);
|
documentcreateelementNS06.java | 35 * has a prefix that is "xml" and the namespaceURI is different 39 * the qualifiedName as xml:root and namespaceURI as http://www.w3.org/xml/1998/namespace 74 String namespaceURI = "http://www.w3.org/xml/1998/namespace "; 83 element = newDoc.createElementNS(namespaceURI, qualifiedName);
|
domimplementationcreatedocument03.java | 90 String namespaceURI = "http://www.w3.org/DOMTest/L2"; 108 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
getAttributeNS01.java | 34 * The "getAttributeNS(namespaceURI,localName)" method retrieves an 35 * attribute value by local name and NamespaceURI. 74 String namespaceURI = "http://www.nist.gov"; 84 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
CreateDocument.java | 35 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a 40 * createDocument(namespaceURI,qualifiedName,doctype) on the retrieved 41 * DOMImplementation with namespaceURI being the literal string 84 String namespaceURI = "http://www.ecommerce.org/"; 96 domImpl.createDocument(namespaceURI, malformedName, docType); 104 String namespaceURI = null; 117 domImpl.createDocument(namespaceURI, qualifiedName, docType); 126 // String namespaceURI = "http://www.ecommerce.org/schema"; 127 // String qualifiedName = "namespaceURI:x"; 138 // domImpl.createDocument(namespaceURI, qualifiedName, docType) [all...] |
SetNamedItemNS.java | 39 * is "domestic" and namespaceURI is "http://www.netzero.com". 104 String namespaceURI = "http://www.usa.com"; 115 arg = anotherDoc.createAttributeNS(namespaceURI, qualifiedName); 132 String namespaceURI = "http://www.nist.gov"; 143 arg = doc.createAttributeNS(namespaceURI, qualifiedName); 149 retnode = attributes.getNamedItemNS(namespaceURI, "newAttr"); 156 // String namespaceURI = "http://www.w3.org/2000/xmlns/"; 184 // arg = attributes.getNamedItemNS(namespaceURI, localName); 197 String namespaceURI = "http://www.usa.com"; 207 arg = doc.createAttributeNS(namespaceURI, qualifiedName) [all...] |
SetAttributeNodeNS.java | 38 * "createAttributeNS(namespaceURI,qualifiedName)" and 83 String namespaceURI = "http://www.newattr.com"; 97 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); 149 String namespaceURI = "http://www.newattr.com"; 160 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); 183 String namespaceURI = "http://www.newattr.com"; 193 newAttr = doc2.createAttributeNS(namespaceURI, qualifiedName);
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNamedNodeMap.java | 189 * @param namespaceURI The namespace URI of the node to retrieve. 197 public Node getNamedItemNS(String namespaceURI, String localName) 206 if ((namespaceURI == null && nsURI == null) 207 || (namespaceURI != null && namespaceURI.equals(nsURI))) 218 * Adds a node using its <code>namespaceURI</code> and 224 * accessible using the value of its <code>namespaceURI</code> and 254 * @param namespaceURI The namespace URI of the node to remove. 261 * <code>namespaceURI</code> and <code>localName</code> in this map. 265 public Node removeNamedItemNS(String namespaceURI, String localName [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
SelectorChecker.h | 139 const AtomicString& namespaceURI = tagQName.namespaceURI(); 140 return namespaceURI == starAtom || namespaceURI == element->namespaceURI();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
MockNamedNodeMap.java | 74 public Node getNamedItemNS(String namespaceURI, String localName) throws DOMException { 75 if (namespaceURI == null) { 76 namespaceURI = ""; //no namespace 79 HashMap<String, Node> map = mNodeMap.get(namespaceURI); 98 public Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException {
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
CustomElementRegistry.cpp | 92 ASSERT(tagName.namespaceURI() == HTMLNames::xhtmlNamespaceURI || tagName.namespaceURI() == SVGNames::svgNamespaceURI); 110 const CustomElementDescriptor descriptor(type, tagName.namespaceURI(), tagName.localName());
|
CustomElementDescriptorHash.h | 44 return WTF::pairIntHash(AtomicStringHash::hash(descriptor.type()), WTF::pairIntHash(AtomicStringHash::hash(descriptor.namespaceURI()), AtomicStringHash::hash(descriptor.localName())));
|
NamedNodeMap.idl | 40 /*[RaisesException]*/ Node getNamedItemNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 45 [RaisesException, CustomElementCallbacks=Enable] Node removeNamedItemNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XPathStep.h | 62 NodeTest(Kind kind, const String& data, const String& namespaceURI) : m_kind(kind), m_data(data), m_namespaceURI(namespaceURI) { } 66 const AtomicString& namespaceURI() const { return m_namespaceURI; }
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLStackItem.h | 56 static PassRefPtr<HTMLStackItem> create(PassRefPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI) 58 return adoptRef(new HTMLStackItem(node, token, namespaceURI)); 67 const AtomicString& namespaceURI() const { return m_namespaceURI; } 78 bool hasTagName(const QualifiedName& name) const { return m_tokenLocalName == name.localName() && m_namespaceURI == name.namespaceURI(); } 96 return namespaceURI() == HTMLNames::xhtmlNamespaceURI 221 m_namespaceURI = m_node->namespaceURI(); 227 HTMLStackItem(PassRefPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI) 231 , m_namespaceURI(namespaceURI)
|