/dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementhasattribute01.java | 48 * on this element or has a default value, false otherwise 84 Element element; local 87 element = doc.getDocumentElement(); 88 state = element.hasAttribute("");
|
elementhasattribute03.java | 35 * on this element or has a default value, false otherwise. 36 * Create an element Node and an attribute Node. Invoke hasAttribute method 37 * to verify that there is no attribute. Append the attribute node to the element node. 38 * Invoke the hasAttribute method on the element and verify if it returns true. 67 Element element; local 72 element = doc.createElement("address"); 74 state = element.hasAttribute("domestic"); 76 newAttribute = element.setAttributeNode(attribute); 77 state = element.hasAttribute("domestic") [all...] |
elementhasattribute04.java | 35 * on this element or has a default value, false otherwise. 36 * Create an element Node and an attribute Node and add the attribute node to the element. 37 * Invoke the hasAttribute method on the element and verify if the method returns true. 66 Element element; local 71 element = doc.createElement("address"); 73 newAttribute = element.setAttributeNode(attribute); 74 state = element.hasAttribute("domestic");
|
elementsetattributens05.java | 36 * Invoke the setAttributeNS method on a new Element object with null namespaceURI and a 67 Element element; local 71 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem"); 76 element.setAttributeNS(nullNS, "dom:root", "test");
|
elementsetattributens08.java | 38 * Invoke the setAttributeNS method on a new Element object with namespaceURI that is 70 Element element; local 72 element = doc.createElementNS("http://www.w3.org/DOMTest/level2", "dom:elem"); 77 element.setAttributeNS("http://www.w3.org/DOMTest/level2", "xmlns", "test"); 87 element.setAttributeNS("http://www.w3.org/DOMTest/level2", "xmlns:root", "test");
|
elementsetattributensurinull.java | 94 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
getElementById01.java | 35 * Document should return an element whose ID matches elementId. 38 * with elementId equals "CANADA". Method should return an element 74 Element element; local 77 element = doc.getElementById("CANADA"); 78 tagname = element.getTagName();
|
getElementsByTagNameNS08.java | 34 * Element.getElementsByTagNameNS('*','*') should return all child 66 Element docElem;
|
getElementsByTagNameNS12.java | 36 * order in which they are encountered in a preorder traversal of this Element tree. 69 Element docElem;
|
getElementsByTagNameNS13.java | 36 * order in which they are encountered in a preorder traversal of this Element tree. 75 Element docElem;
|
getElementsByTagNameNS14.java | 36 * order in which they are encountered in a preorder traversal of this Element tree. 75 Element docElem;
|
hc_entitiessetnameditemns1.java | 31 * An attempt to add an element to the named node map returned by entities should 63 Element elem;
|
hc_notationssetnameditemns1.java | 31 * An attempt to add an element to the named node map returned by notations should 63 Element elem;
|
nodesetprefix06.java | 36 * Invoke the setPrefix method on this Element object with namespaceURI that is different from 66 Element element; local 68 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem"); 73 element.setPrefix("xml");
|
nodesetprefix09.java | 35 * Create a new namespace aware element node and call the setPrefix method on it with a prefix having 65 Element element; local 67 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem"); 72 element.setPrefix(value);
|
ownerElement01.java | 34 * The "getOwnerElement()" will return the Element node this attribute 37 * Apply the "getOwnerElement()" method to get the Element associated 70 Element elementNode;
|
ownerElement02.java | 34 * The "getOwnerElement()" will return the Element node this attribute 37 * Apply the "getOwnerElement()" method to get the Element associated 68 Element elementNode;
|
setAttributeNS01.java | 81 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS02.java | 81 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS06.java | 82 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS07.java | 83 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS10.java | 34 * Element.setAttributeNS with an empty qualified name should cause an INVALID_CHARACTER_ERR. 74 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, "", "newValue");
|
setAttributeNodeNS03.java | 36 * present in the element, it is replaced by the new one. 38 * Retrieve the first emp:address element and add a new attribute 39 * to the element. Since an attribute with the same local name 82 newAddrAttr = ((Element) /*Node */testAddr).setAttributeNodeNS(newAttr);
|
/dalvik/libcore/xml/src/test/java/tests/org/w3c/dom/ |
HCEntitiesSetNamedItemNS.java | 10 import org.w3c.dom.Element; 14 * An attempt to add an element to the named node map returned by entities 59 // Element elem;
|
RemoveAttributeNS.java | 31 import org.w3c.dom.Element; 40 * Obtain the children of the THIRD "gender" element. The elements content is an 91 // Element genElement; 104 // genElement = (Element) gList.item(0); 131 // ((Element) /* Node */testAddr).removeAttributeNS("http://www.nist.gov", 135 // addrAttr = ((Element) /* Node */testAddr).getAttributeNodeNS( 137 // attr = ((Element) /* Node */testAddr).getAttributeNS(
|