HomeSort by relevance Sort by last modified time
    Searched refs:Element (Results 451 - 475 of 1636) sorted by null

<<11121314151617181920>>

  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
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");
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();

Completed in 4309 milliseconds

<<11121314151617181920>>