/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_namednodemapinuseattributeerr.java | 33 * Attr that is already in an attribute of another Element. 68 Element firstNode; 76 firstNode = (Element) elementList.item(0);
|
hc_nodeelementnodeattributes.java | 31 * Retrieve the third "acronym" element and evaluate Node.attributes. 62 Element testAddr; 79 testAddr = (Element) elementList.item(2);
|
hc_nodeinsertbeforeinvalidnodetype.java | 37 * created Attr node. An Element node cannot have children 72 Element rootNode; 81 rootNode = (Element) refChild.getParentNode();
|
hc_nodereplacechildinvalidnodetype.java | 38 * An Element node cannot have children of the "Attr" 72 Element rootNode; 81 rootNode = (Element) oldChild.getParentNode();
|
namednodemapinuseattributeerr.java | 33 * Attr that is already in an attribute of another Element. 69 Element firstNode; 77 firstNode = (Element) elementList.item(0);
|
nodecdatasectionnodetype.java | 72 Element testName; 77 testName = (Element) elementList.item(1);
|
nodecdatasectionnodevalue.java | 74 Element cdataName; 80 cdataName = (Element) elementList.item(1);
|
nodeelementnodeattributes.java | 31 * The "getAttributes()" method invoked on an Element 37 * a NamedNodeMap containing the attributes of the Element 67 Element testAddr; 79 testAddr = (Element) elementList.item(2);
|
nodesetnodevaluenomodificationallowederr.java | 35 * Obtain the children of the THIRD "gender" element. The elements 73 Element entElement; 87 entElement = (Element) entRef.getFirstChild();
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
attrgetownerelement02.java | 34 * The "getOwnerElement()" will return the Element node this attribute 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; local 73 Element ownerElement; 78 element = doc.createElement("root"); 80 newAttr = element.setAttributeNodeNS(attr);
|
attrgetownerelement04.java | 32 * The "getOwnerElement()" will return the Element node this attribute is attached to or 73 Element element; local 80 element = (Element) addresses.item(1); 81 assertNotNull("empAddressNotNull", element); 82 attr = element.getAttributeNodeNS("http://www.nist.gov", "zone");
|
documentgetelementsbytagnameNS02.java | 39 * Create a new element having a local name="employeeId" belonging to the namespace "test" 77 Element docElem; 78 Element element; local 83 element = doc.createElementNS("test", "employeeId"); 84 appendedChild = docElem.appendChild(element);
|
documentimportnode01.java | 40 * element node, from a list of nodes whose local names are "address" and namespaceURI 77 Element element; local 86 element = (Element) childList.item(1); 87 attr = element.getAttributeNode("street");
|
documentimportnode02.java | 40 * element node which is retreived by its elementId="CANADA", into the another document. 79 Element element; local 90 element = (Element) addresses.item(1); 91 attr = element.getAttributeNodeNS("http://www.nist.gov", "zone");
|
documentimportnode03.java | 40 * "defaultAttr" of the second element node whose namespaceURI="http://www.nist.gov" and 79 Element element; local 88 element = (Element) childList.item(1); 89 attr = element.getAttributeNode("defaultAttr");
|
documentimportnode04.java | 40 * "defaultAttr" of the second element node whose namespaceURI="http://www.nist.gov" and 83 Element element; local 94 element = (Element) childList.item(1); 95 attr = element.getAttributeNode("defaultAttr");
|
documentimportnode14.java | 34 * Using the method importNode with deep=true, import the fourth employee element node of this 91 attrNode = ((Element) /*Node */imported).getAttributeNodeNS(nullNS, "defaultAttr"); 93 attrValue = ((Element) /*Node */imported).getAttributeNS("http://www.w3.org/2000/xmlns/", "emp");
|
elementgetattributenodens03.java | 73 Element element; local 81 element = (Element) childList.item(1); 82 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr");
|
elementgetattributens02.java | 73 Element element; local 80 element = (Element) childList.item(1); 81 attrValue = element.getAttributeNS(nullNS, "defaultAttr");
|
elementhasattribute02.java | 35 * on this element or has a default value, false otherwise 36 * Invoke the hasAttribute method to on an element with default attributes and verify if it 72 Element element; local 77 element = (Element) elementList.item(0); 78 assertNotNull("empEmployeeNotNull", element); 79 state = element.hasAttribute("defaultAttr");
|
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; local 79 element = (Element) elementList.item(0); 80 state = element.hasAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns");
|
elementsetattributenodens04.java | 35 * if newAttr is already an attribute of another Element object. 37 * Create two new element nodes and a new attribute node. Attempt to add the same attribute 38 * node to the same two element nodes. 74 Element element1; 75 Element element2;
|
elementsetattributenodens06.java | 36 * Attempt to add an attribute node to an element node which is part of the replacement text of 72 Element element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "elem1"); 84 newAttribute = element.setAttributeNodeNS(attribute); 86 element = (Element) elementList.item(0); 92 newAttribute = element.setAttributeNodeNS(attribute2);
|
elementsetattributens02.java | 36 * Retrieve an existing element node with attributes and add a new attribute node to it using 73 Element element; local 80 element = (Element) elementList.item(0); 81 element.setAttributeNS("http://www.w3.org/DOM/Test/setAttributeNS", "this:street", "Silver Street"); 82 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Test/setAttributeNS", "street");
|
elementsetattributens03.java | 35 * Retreive an existing element node with a default attribute node and 74 Element element; local 81 element = (Element) elementList.item(0); 82 assertNotNull("empEmployeeNotNull", element); 83 element.setAttributeNS("http://www.w3.org/DOM/Test/1", "defaultAttr", "default1"); 84 element.setAttributeNS("http://www.w3.org/DOM/Test/2", "defaultAttr", "default2"); 85 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Test/1", "defaultAttr");
|