/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | attrgetownerelement02.java | 37 * Create a new element and attribute node, attach the attribute to the element. 38 * Check the value of owner element of the new attribute node 72 Element element; 78 element = doc.createElement("root"); 80 newAttr = element.setAttributeNodeNS(attr);
|
H A D | documentgetelementsbytagnameNS02.java | 39 * Create a new element having a local name="employeeId" belonging to the namespace "test" 78 Element element; 83 element = doc.createElementNS("test", "employeeId"); 84 appendedChild = docElem.appendChild(element);
|
H A D | documentimportnode01.java | 40 * element node, from a list of nodes whose local names are "address" and namespaceURI 77 Element element; 86 element = (Element) childList.item(1); 87 attr = element.getAttributeNode("street");
|
H A D | documentimportnode02.java | 40 * element node which is retreived by its elementId="CANADA", into the another document. 79 Element element; 90 element = (Element) addresses.item(1); 91 attr = element.getAttributeNodeNS("http://www.nist.gov", "zone");
|
H A D | documentimportnode03.java | 40 * "defaultAttr" of the second element node whose namespaceURI="http://www.nist.gov" and 79 Element element; 88 element = (Element) childList.item(1); 89 attr = element.getAttributeNode("defaultAttr");
|
H A D | documentimportnode04.java | 40 * "defaultAttr" of the second element node whose namespaceURI="http://www.nist.gov" and 83 Element element; 94 element = (Element) childList.item(1); 95 attr = element.getAttributeNode("defaultAttr");
|
H A D | elementgetattributenodens03.java | 73 Element element; 81 element = (Element) childList.item(1); 82 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr");
|
H A D | elementgetattributens02.java | 73 Element element; 80 element = (Element) childList.item(1); 81 attrValue = element.getAttributeNS(nullNS, "defaultAttr");
|
H A D | elementhasattributens01.java | 36 * URI is specified on this element or has a default value, false otherwise. 38 * Retreive the first employee element node. Invoke the hasAttributeNS method to check if it 74 Element element; 79 element = (Element) elementList.item(0); 80 state = element.hasAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns");
|
H A D | elementsetattributenodens02.java | 35 * Retreive the street attribute from the second address element node. 73 Element element; 85 element = (Element) elementList.item(1); 86 attribute = element.getAttributeNodeNS(nullNS, "street");
|
H A D | elementsetattributenodens05.java | 36 * than the one that created the element. 37 * Create new element and attribute nodes in different documents. 38 * Attempt to add the attribute node to the element node. 76 Element element; 81 element = doc.createElementNS("http://www.w3.org/DOM/Test", "elem1"); 87 newAttribute = element.setAttributeNodeNS(attribute);
|
H A D | elementsetattributens04.java | 67 Element element; 81 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem"); 88 element.setAttributeNS("http://www.w3.org/DOM/Test/L2", qualifiedName, "test");
|
H A D | importNode07.java | 37 * If this document defines default attributes for this element name (importedNode), 40 * Create an element whose name is "emp:employee" in a different document. 42 * defines default attribute for the element name "emp:employee". 43 * Method should return an the imported element with an assigned default attribute. 81 Element element; 91 element = aNewDoc.createElementNS(namespaceURI, qualifiedName); 92 aNode = doc.importNode(element, false);
|
H A D | namednodemapgetnameditemns02.java | 37 * and localName=domestic, from a NamedNodeMap of attribute nodes, for the second element 74 Node element; 80 element = elementList.item(1); 81 attributes = element.getAttributes();
|
H A D | namednodemapgetnameditemns05.java | 36 * Retreieve the second address element and its attribute into a named node map. 74 Node element; 79 element = elementList.item(1); 80 attributes = element.getAttributes();
|
H A D | namednodemapremovenameditemns01.java | 72 Node element; 77 element = elementList.item(1); 78 attributes = element.getAttributes();
|
H A D | namednodemapremovenameditemns02.java | 36 * attributes attached to an element, as returned by the attributes attribute of the Node 78 Node element; 86 element = elementList.item(1); 87 attributes = element.getAttributes();
|
H A D | namednodemapremovenameditemns04.java | 36 * Attempt to remove the xmlns and dmstc attributes of the first element node with the localName 72 Node element; 78 element = elementList.item(0); 79 attributes = element.getAttributes();
|
H A D | namednodemapremovenameditemns06.java | 74 Node element; 79 element = elementList.item(1); 80 attributes = element.getAttributes();
|
H A D | namednodemapremovenameditemns07.java | 74 Node element; 79 element = elementList.item(1); 80 attributes = element.getAttributes();
|
H A D | namednodemapsetnameditemns02.java | 38 * Create a new element and attribute Node and add the newly created attribute node to the elements 75 Element element; 81 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 83 attributes = element.getAttributes();
|
H A D | namednodemapsetnameditemns04.java | 38 * Retreieve the second element whose local name is address and its attribute into a named node map. 82 Element element; 89 element = (Element) elementList.item(1); 90 attributes = element.getAttributes();
|
H A D | namednodemapsetnameditemns10.java | 79 Element element; 88 element = (Element) elementList.item(0); 89 attributes = element.getAttributes();
|
H A D | namednodemapsetnameditemns11.java | 78 Element element; 89 element = (Element) elementList.item(0); 90 attributes = element.getAttributes();
|
H A D | nodegetlocalname03.java | 36 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 72 Element element; 81 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 85 localElemName = element.getLocalName();
|