/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
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();
|
namednodemapsetnameditemns01.java | 38 * Retreive the first element whose localName is address and namespaceURI http://www.nist.gov", 75 Node element; local 83 element = elementList.item(0); 84 attributes = element.getAttributes(); 86 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(newAttr1);
|
namednodemapsetnameditemns02.java | 38 * Create a new element and attribute Node and add the newly created attribute node to the elements 75 Element element; local 81 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 83 attributes = element.getAttributes();
|
namednodemapsetnameditemns03.java | 38 * Retreieve the second element whose local name is address and its attribute into a named node map. 83 Element element; local 84 Element elementAlt; 91 element = (Element) elementList.item(1); 92 attributes = element.getAttributes(); 95 elementAlt = (Element) elementListAlt.item(1);
|
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();
|
namednodemapsetnameditemns06.java | 34 * Retreieve the first element whose localName is address and its attributes into a named node map. 36 * Retreieve the second element whose localName is address and its attributes into a named node map. 74 Element element; local 79 element = (Element) elementList.item(0); 80 attributes = element.getAttributes(); 82 element = (Element) elementList.item(1); 83 attributes = element.getAttributes() [all...] |
namednodemapsetnameditemns07.java | 36 * attribute of another Element object. 38 * Retreieve the attributes of first element whose localName is address into a named node map. 40 * from the NamedNodeMap. Retreieve the attributes of second element whose localName is address 80 Element element; local 85 element = (Element) elementList.item(0); 86 attributes = element.getAttributes(); 88 element = (Element) elementList.item(1) [all...] |
namednodemapsetnameditemns08.java | 35 * attribute of another Element object. 36 * Retreieve the first element whose localName is address and its attributes into a named node map. 37 * Retreiving the domestic attribute from the namednodemap. Retreieve the second element whose 76 Element element; local 81 element = (Element) elementList.item(0); 82 attributes = element.getAttributes(); 84 element = (Element) elementList.item(1) [all...] |
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();
|
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();
|
nodegetprefix03.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 elemNoPrefix = element.getPrefix();
|
nodehasattributes04.java | 34 * The method hasAttributes returns whether this node (if it is an element) has any attributes. 35 * Create a new Document, Element and Attr node. Add the Attr to the Element and append the 36 * Element to the Document. Retreive the newly created element node from the document and check 75 Element element; local 76 Element elementTest; 77 Element elementDoc; 86 element = newDoc.createElementNS("http://www.w3.org/DOM/Test", "dom:elem") [all...] |
nodeissupported01.java | 37 * Call the isSupported method on the document element node with a combination of features 68 Element element; local 84 element = doc.getDocumentElement(); 87 success = element.isSupported(featureXML, version); 89 success = element.isSupported(featureXML, version1); 94 success = element.isSupported(featureCore, version); 96 success = element.isSupported(featureCore, version1); 97 success = element.isSupported(featureCore, version2);
|
nodesetprefix01.java | 36 * tagName and name attributes of the Element and Attr interfaces, when applicable. 38 * Create a new element node with a namespace prefix. Add it to a new DocumentFragment Node without 39 * a prefix. Call setPrefix on the elemen node. Check if the prefix was set correctly on the element. 74 Element element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "emp:address"); 81 appendedChild = docFragment.appendChild(element); 82 element.setPrefix("dmstc"); 83 elementTagName = element.getTagName(); 84 elementNodeName = element.getNodeName() [all...] |
nodesetprefix02.java | 36 * tagName and name attributes of the Element and Attr interfaces, when applicable. 37 * Create a new attribute node and add it to an element node with an existing attribute having 74 Element element; local 83 element = (Element) elementList.item(1); 85 setNode = element.setAttributeNodeNS(newAttribute); 87 attribute = element.getAttributeNodeNS("http://www.usa.com", "domestic");
|
nodesetprefix04.java | 72 Element element; local 79 element = (Element) elementList.item(0); 80 assertNotNull("empEmployeeNotNull", element); 81 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr");
|
/libcore/luni/src/main/java/java/util/concurrent/ |
BlockingDeque.java | 12 * for the deque to become non-empty when retrieving an element, and wait for 13 * space to become available in the deque when storing an element. 27 * <td ALIGN=CENTER COLSPAN = 5> <b>First Element (Head)</b></td> 58 * <td ALIGN=CENTER COLSPAN = 5> <b>Last Element (Tail)</b></td> 147 * <td>{@link #element() element()}</td> 160 * actions subsequent to the access or removal of that element from 180 * Inserts the specified element at the front of this deque if it is 186 * @param e the element to add 189 * @throws NullPointerException if the specified element is nul 542 E element(); method in interface:BlockingDeque [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DocumentGetElementsByTagnameNS.java | 7 import org.w3c.dom.Element; 76 Element docElem; 77 Element element; local 82 element = doc.createElementNS("test", "employeeId"); 83 docElem.appendChild(element);
|
ElementGetAttributeNodeNS.java | 3 import org.w3c.dom.Element; 11 * namespace URI. Create a new element node and add 2 new attribute nodes to it 52 Element element; local 64 element = doc.createElementNS("namespaceURI", "root"); 67 element.setAttributeNodeNS(attribute1); 70 element.setAttributeNodeNS(attribute2); 71 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Level2", 89 Element element; local [all...] |
ElementGetElementsByTagNameNS.java | 3 import org.w3c.dom.Element; 52 Element element; local 55 element = doc.getDocumentElement(); 56 elementList = element.getElementsByTagNameNS("**", "*"); 62 Element element; local 63 Element child1; 64 Element child2; 65 Element child3 89 Element element; local [all...] |
ElementHasAttributeNS.java | 24 import org.w3c.dom.Element; 33 * name and namespace URI is specified on this element or has a default value, 36 * Retreive the first employee element node. Invoke the hasAttributeNS method to 76 Element element; local 81 element = (Element) elementList.item(0); 82 state = element 88 Element element; local 101 Element element; local [all...] |
NamedNodeMapGetNamedItemNS.java | 29 import org.w3c.dom.Element; 103 Node element; local 110 element = elementList.item(1); 111 attributes = element.getAttributes(); 120 Node element; local 127 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 129 ((Element) /* Node */element).setAttributeNodeNS(newAttr1); 131 ((Element) /* Node */element).setAttributeNodeNS(newAttr2) 141 Element element; local 160 Node element; local [all...] |
NodeGetLocalName.java | 27 import org.w3c.dom.Element; 35 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 71 Element element; local 72 Element qelement; 80 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 84 localElemName = element.getLocalName();
|