Searched refs:element (Results 76 - 100 of 181) sorted by relevance

12345678

/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A Dattrgetownerelement02.java37 * 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 DdocumentgetelementsbytagnameNS02.java39 * 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 Ddocumentimportnode01.java40 * 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 Ddocumentimportnode02.java40 * 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 Ddocumentimportnode03.java40 * "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 Ddocumentimportnode04.java40 * "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 Delementgetattributenodens03.java73 Element element;
81 element = (Element) childList.item(1);
82 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr");
H A Delementgetattributens02.java73 Element element;
80 element = (Element) childList.item(1);
81 attrValue = element.getAttributeNS(nullNS, "defaultAttr");
H A Delementhasattributens01.java36 * 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 Delementsetattributenodens02.java35 * 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 Delementsetattributenodens05.java36 * 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 Delementsetattributens04.java67 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 DimportNode07.java37 * 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 Dnamednodemapgetnameditemns02.java37 * 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 Dnamednodemapgetnameditemns05.java36 * 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 Dnamednodemapremovenameditemns01.java72 Node element;
77 element = elementList.item(1);
78 attributes = element.getAttributes();
H A Dnamednodemapremovenameditemns02.java36 * 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 Dnamednodemapremovenameditemns04.java36 * 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 Dnamednodemapremovenameditemns06.java74 Node element;
79 element = elementList.item(1);
80 attributes = element.getAttributes();
H A Dnamednodemapremovenameditemns07.java74 Node element;
79 element = elementList.item(1);
80 attributes = element.getAttributes();
H A Dnamednodemapsetnameditemns02.java38 * 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 Dnamednodemapsetnameditemns04.java38 * 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 Dnamednodemapsetnameditemns10.java79 Element element;
88 element = (Element) elementList.item(0);
89 attributes = element.getAttributes();
H A Dnamednodemapsetnameditemns11.java78 Element element;
89 element = (Element) elementList.item(0);
90 attributes = element.getAttributes();
H A Dnodegetlocalname03.java36 * 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();

Completed in 175 milliseconds

12345678