HomeSort by relevance Sort by last modified time
    Searched defs:element (Results 176 - 200 of 769) sorted by null

1 2 3 4 5 6 78 91011>>

  /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");
elementgetattributenodens01.java 33 * Create a new element node and add 2 new attribute nodes to it that have the same
71 Element element; local
83 element = doc.createElementNS("namespaceURI", "root");
85 newAttribute1 = element.setAttributeNodeNS(attribute1);
87 newAttribute2 = element.setAttributeNodeNS(attribute2);
88 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Level2", "att");
elementgetattributenodens03.java 73 Element element; local
81 element = (Element) childList.item(1);
82 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr");
elementgetelementsbytagnamens04.java 36 * Create a new element node ('root') and append three newly created child nodes (all have
76 Element element; local
77 Element child1;
78 Element child2;
79 Element child3;
85 element = doc.createElementNS("http://www.w3.org/DOM", "root");
89 appendedChild = element.appendChild(child1);
90 appendedChild = element.appendChild(child2);
91 appendedChild = element.appendChild(child3)
    [all...]
elementsetattributenodens01.java 34 * Testing Element.setAttributeNodeNS: If an attribute with that local name
35 * and that namespace URI is already present in the element, it is replaced
37 * Create a new element and two new attribute nodes (in the same namespace
39 * Add the two new attribute nodes to the element node using the
76 Element element; local
87 element = doc.createElementNS("http://www.w3.org/DOM/Test/Level2", "new:element");
91 newAttribute = element.setAttributeNodeNS(attribute1);
92 newAttribute = element.setAttributeNodeNS(attribute2)
    [all...]
elementsetattributenodens02.java 35 * Retreive the street attribute from the second address element node.
73 Element element; local
74 Element element2;
85 element = (Element) elementList.item(1);
86 attribute = element.getAttributeNodeNS(nullNS, "street");
88 element2 = (Element) elementList.item(2);
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; local
81 element = doc.createElementNS("http://www.w3.org/DOM/Test", "elem1");
87 newAttribute = element.setAttributeNodeNS(attribute);
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");
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...]
importNode07.java 36 * The importedNode is of type Element.
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; local
91 element = aNewDoc.createElementNS(namespaceURI, qualifiedName);
92 aNode = doc.importNode(element, false);
namednodemapgetnameditemns02.java 37 * and localName=domestic, from a NamedNodeMap of attribute nodes, for the second element
74 Node element; local
80 element = elementList.item(1);
81 attributes = element.getAttributes();
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...]
namednodemapremovenameditemns02.java 36 * attributes attached to an element, as returned by the attributes attribute of the Node
78 Node element; local
86 element = elementList.item(1);
87 attributes = element.getAttributes();
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();
namednodemapremovenameditemns04.java 36 * Attempt to remove the xmlns and dmstc attributes of the first element node with the localName
72 Node element; local
78 element = elementList.item(0);
79 attributes = element.getAttributes();
namednodemapremovenameditemns06.java 74 Node element; local
79 element = elementList.item(1);
80 attributes = element.getAttributes();
namednodemapremovenameditemns07.java 74 Node element; local
79 element = elementList.item(1);
80 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");

Completed in 181 milliseconds

1 2 3 4 5 6 78 91011>>