/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
getAttributeNS01.java | 37 * Retrieve the first "emp:address" element. 79 Element testAddr; 83 testAddr = (Element) elementList.item(0);
|
getAttributeNS04.java | 37 * Retrieve the first "emp:address" element. 74 Element testAddr; 80 testAddr = (Element) elementList.item(0);
|
getAttributeNS05.java | 37 * Retrieve the first emp:address element node 75 Element testAddr; 79 testAddr = (Element) elementList.item(0);
|
getAttributeNodeNS02.java | 37 * Retrieve the first emp:address element node. 75 Element testAddr; 80 testAddr = (Element) elementList.item(0);
|
getElementsByTagNameNS02.java | 42 * Retrieve the FOURTH element whose name should be "emp:employee". 77 Element newElement; 83 newElement = (Element) newList.item(3);
|
hasAttribute02.java | 34 * The "hasAttribute()" method for an Element should 35 * return true if the element has an attribute with the given name. 36 * Retrieve the first "address" element and the "hasAttribute()" method 73 Element testNode; 77 testNode = (Element) elementList.item(0);
|
hasAttribute04.java | 34 * The "hasAttribute()" method for an Element should 35 * return true if the element has an attribute with the given name. 36 * Retrieve the first "address" element and the "hasAttribute()" method 37 * should return true since the element has "domestic" as an attribute. 73 Element testNode; 77 testNode = (Element) elementList.item(0);
|
hasAttributeNS04.java | 34 * The "hasAttributeNS()" method for an Element should 37 * Retrieve the first "emp:address" element. 77 Element testNode; 81 testNode = (Element) elementList.item(0);
|
hasAttributeNS05.java | 34 * The "hasAttributeNS()" method for an Element should 35 * return true if the element has an attribute with the given local name 36 * and the namespace URI is specified on this element or has a default value. 37 * Retrieve the first "address" element and the "hasAttributeNS()" method 38 * should return true since the element has "domestic" as the local name 76 Element testNode; 80 testNode = (Element) elementList.item(0);
|
importNode05.java | 36 * The importedNode is of type Element. 38 * Retrieve element "emp:address" from staffNS.xml document. 40 * with importedNode being the element from above and deep is false. 41 * Method should return an element node whose name matches "emp:address" 73 Element element; local 84 element = (Element) addresses.item(0); 85 assertNotNull("empAddressNotNull", element); 86 aNode = doc.importNode(element, false) [all...] |
importNode06.java | 36 * The importedNode is of type Element. 38 * Retrieve element "emp:address" from staffNS.xml document. 40 * with importedNode being the element from above and deep is true. 41 * Method should return an element node whose name matches "emp:address" and 72 Element element; local 82 element = (Element) addresses.item(0); 83 assertNotNull("empAddressNotNull", element); 84 aNode = doc.importNode(element, true) [all...] |
localName01.java | 76 Element testAddr; 81 testAddr = (Element) elementList.item(0);
|
namednodemapgetnameditemns03.java | 36 * Create a new Element node and add 2 new attribute nodes having the same local name but different 73 Node element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 82 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(newAttr1); 84 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(newAttr2); 85 attributes = element.getAttributes();
|
namednodemapgetnameditemns04.java | 36 * Retreive the second address element node having localName=adrress. 38 * and add it to this element. Using the getNamedItemNS retreive the newly created attribute 39 * node from a nodemap of attributes of the retreive element node. 75 Element element; local 83 element = (Element) elementList.item(1); 85 newAttribute = element.setAttributeNodeNS(newAttr1); 86 attributes = element.getAttributes();
|
namednodemapgetnameditemns06.java | 34 * Retreive the second address element node having localName=adrress. Retreive the attributes 35 * of this element into 2 nodemaps. Create a new attribute node and add it to this element. 74 Element element; local 82 element = (Element) elementList.item(1); 83 attributesMap1 = element.getAttributes(); 84 attributesMap2 = element.getAttributes(); 86 newAttribute = element.setAttributeNodeNS(newAttr1) [all...] |
namednodemapremovenameditemns03.java | 36 * Create a new element node and add 2 new attribute nodes to it that have the same localName 38 * new element node and check to see that the second attribute still exists. 73 Node element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 82 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(attribute1); 84 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(attribute2); 85 attributes = element.getAttributes();
|
namednodemapremovenameditemns08.java | 76 Element element; local 81 element = (Element) elementList.item(1); 82 attributes = element.getAttributes(); 83 element.removeAttributeNS("http://www.nist.gov", "domestic");
|
namednodemapremovenameditemns09.java | 39 * Check the element object to ensure that the attribute node has been removed from it. 75 Element element; local 80 element = (Element) elementList.item(1); 81 attributes = element.getAttributes(); 83 newAttributes = element.getAttributes();
|
namednodemapsetnameditemns04.java | 38 * Retreieve the second element whose local name is address and its attribute into a named node map. 82 Element element; local 89 element = (Element) elementList.item(1); 90 attributes = element.getAttributes();
|
namednodemapsetnameditemns10.java | 79 Element element; local 88 element = (Element) elementList.item(0); 89 attributes = element.getAttributes();
|
namednodemapsetnameditemns11.java | 78 Element element; local 89 element = (Element) elementList.item(0); 90 attributes = element.getAttributes();
|
namespaceURI01.java | 77 Element testAddr; 82 testAddr = (Element) elementList.item(0);
|
namespaceURI02.java | 74 Element testAddr; 79 testAddr = (Element) elementList.item(0);
|
nodegetlocalname03.java | 36 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 72 Element element; local 73 Element qelement; 81 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 85 localElemName = element.getLocalName();
|
nodegetnamespaceuri03.java | 38 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 74 Element element; local 75 Element elementNS; 85 element = doc.createElementNS(nullNS, "elem"); 90 elemNSURINull = element.getNamespaceURI();
|