HomeSort by relevance Sort by last modified time
    Searched refs:Element (Results 526 - 550 of 827) sorted by null

<<21222324252627282930>>

  /dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/
hc_notationssetnameditem1.java 31 * An attempt to add an element to the named node map returned by notations should
66 Element elem;
nodeinsertbeforeinvalidnodetype.java 37 * created Attr node. An Element node cannot have children
71 Element rootNode;
nodereplacechildinvalidnodetype.java 38 * An Element node cannot have children of the "Attr"
71 Element rootNode;
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/
documentcreateelementNS01.java 47 * The method createElementNS creates an element of the given valid qualifiedName and NamespaceURI.
50 * and qualifiedName. Check if a valid Element object is returned with the same node attributes.
79 Element element; local
88 element = doc.createElementNS(namespaceURI, qualifiedName);
89 nodeName = element.getNodeName();
90 nsURI = element.getNamespaceURI();
91 localName = element.getLocalName();
92 prefix = element.getPrefix();
93 tagName = element.getTagName()
    [all...]
documentcreateelementNS06.java 73 Element element; local
83 element = newDoc.createElementNS(namespaceURI, qualifiedName);
documentimportnode11.java 76 Element docElement;
elementgetattributenodens02.java 35 * Create a new element node and add a new attribute node to it. Using the getAttributeNodeNS,
71 Element element; local
76 element = doc.createElementNS("namespaceURI", "root");
78 newAttribute1 = element.setAttributeNodeNS(attribute);
79 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Level2", "att");
elementhasattributens02.java 35 * name and namespace URI is specified on this element or has a default value,
37 * Create a new element and attribute node that belong to the same namespace.
38 * Add the attribute node to the element node. Check if the newly created element
75 Element element; local
80 element = doc.createElementNS("http://www.w3.org/DOM", "address");
82 newAttribute = element.setAttributeNode(attribute);
83 state = element.hasAttributeNS("http://www.w3.org/DOM", "domestic");
elementhasattributens03.java 35 * and namespace URI is specified on this element or has a default value,
38 * Create a new element and an attribute node that has an empty namespace.
39 * Add the attribute node to the element node. Check if the newly created element
77 Element element; local
84 element = doc.createElementNS("http://www.w3.org/DOM", "address");
85 assertNotNull("createElementNotNull", element);
87 newAttribute = element.setAttributeNode(attribute);
88 state = element.hasAttributeNS(nullNS, "domestic")
    [all...]
elementremoveattributens01.java 35 * Create a new element and add a new attribute node to it.
38 * method on the element and check if it returns false.
73 Element element; local
78 element = doc.createElementNS("http://www.w3.org/DOM", "elem");
80 newAttribute = element.setAttributeNodeNS(attribute);
81 element.removeAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr");
82 state = element.hasAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr");
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...]
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);
elementsetattributens01.java 35 * Create a new element and add a new attribute node to it using the setAttributeNS method.
72 Element element; local
77 element = doc.createElementNS("http://www.w3.org/DOM", "dom:elem");
78 element.setAttributeNS("http://www.w3.org/DOM/Test/setAttributeNS", "attr", "value");
79 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Test/setAttributeNS", "attr");
elementsetattributens04.java 36 * Invoke the setAttributeNS method on this Element object with a valid value for
67 Element element; local
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");
getElementsByTagNameNS11.java 36 * order in which they are encountered in a preorder traversal of this Element tree.
76 Element docElem;
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);
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();
nodegetownerdocument02.java 37 * verify if the ownerDocument is null. Create a new element Node on the new Document
38 * object. Check the ownerDocument of the new element node.
74 Element newElem;
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...]
nodesetprefix03.java 36 * Create a new element node without a namespace prefix. Call setPrefix on the newly created elemenent node.
71 Element element; local
73 element = doc.createElement("address");
78 element.setPrefix("test");
nodesetprefix05.java 35 * Create a new namespace aware element node and call the setPrefix method on it with several malformed
70 Element element; local
80 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem");
87 element.setPrefix(prefixValue);
normalize01.java 35 * depth of the sub-tree underneath this element into a
71 Element root;
setAttributeNodeNS04.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
87 newAddrAttr = ((Element) /*Node */testAddr).setAttributeNodeNS(newAttr);
setAttributeNodeNS05.java 42 * one that created this element, therefore a
92 setAttr1 = ((Element) /*Node */testAddr).setAttributeNodeNS(newAttr);

Completed in 258 milliseconds

<<21222324252627282930>>