OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newAttr
(Results
1 - 25
of
87
) sorted by null
1
2
3
4
/libcore/luni/src/test/java/tests/org/w3c/dom/
SetAttributeNodeNS.java
34
* The "setAttributeNode(
newAttr
)" method raises an "INUSE_ATTRIBUTE_ERR
35
* DOMException if the "
newAttr
" is already an attribute of another element.
39
* "setAttributeNodeNS(
newAttr
)" methods are invoked to create and add a new
40
* attribute to the newly created Element. The "setAttributeNodeNS(
newAttr
)"
83
String namespaceURI = "http://www.
newattr
.com";
84
String qualifiedName = "emp:
newAttr
";
87
Attr
newAttr
;
97
newAttr
= doc.createAttributeNS(namespaceURI, qualifiedName);
98
newElement.setAttributeNodeNS(
newAttr
);
103
((Element) /* Node */testAddr).setAttributeNodeNS(
newAttr
);
[
all
...]
OwnerElement.java
93
Attr
newAttr
;
96
newAttr
= doc.createAttribute("newAttribute");
97
elementNode =
newAttr
.getOwnerElement();
GetNamedItemNS.java
77
Attr
newAttr
;
82
newAttr
= (Attr) attributes.getNamedItemNS(namespaceURI, localName);
83
assertNull("throw_Null",
newAttr
);
RemoveNamedItemNS.java
82
Attr
newAttr
;
91
newAttr
= (Attr) attributes.getNamedItem("dmstc:domestic");
92
assertNull("nodeRemoved",
newAttr
);
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
createAttributeNS05.java
70
Attr
newAttr
;
73
newAttr
= doc.createAttributeNS(namespaceURI, qualifiedName);
74
attrName =
newAttr
.getName();
getNamedItemNS02.java
76
Attr
newAttr
;
81
newAttr
= (Attr) attributes.getNamedItemNS(namespaceURI, localName);
82
assertNull("throw_Null",
newAttr
);
ownerElement02.java
67
Attr
newAttr
;
70
newAttr
= doc.createAttribute("newAttribute");
71
elementNode =
newAttr
.getOwnerElement();
setAttributeNodeNS03.java
34
* The "setAttributeNodeNS(
newAttr
)" adds a new attribute.
70
String namespaceURI = "http://www.
newattr
.com";
71
String qualifiedName = "emp:
newAttr
";
75
Attr
newAttr
;
81
newAttr
= doc.createAttributeNS(namespaceURI, qualifiedName);
82
newAddrAttr = ((Element) /*Node */testAddr).setAttributeNodeNS(
newAttr
);
elementsetattributenodens02.java
77
Attr
newAttr
;
89
newAttr
= element2.setAttributeNodeNS(attributeCloned);
90
attrName =
newAttr
.getNodeName();
91
attrValue =
newAttr
.getNodeValue();
setAttributeNodeNS01.java
34
* The "setAttributeNode(
newAttr
)" method raises an
35
* "INUSE_ATTRIBUTE_ERR DOMException if the "
newAttr
"
40
* and "setAttributeNodeNS(
newAttr
)" methods are invoked
42
* Element. The "setAttributeNodeNS(
newAttr
)" method is
74
String namespaceURI = "http://www.
newattr
.com";
75
String qualifiedName = "emp:
newAttr
";
78
Attr
newAttr
;
90
newAttr
= doc.createAttributeNS(namespaceURI, qualifiedName);
91
setAttr1 = newElement.setAttributeNodeNS(
newAttr
);
96
setAttr2 = ((Element) /*Node */testAddr).setAttributeNodeNS(
newAttr
);
[
all
...]
createAttributeNS01.java
73
Attr
newAttr
;
79
newAttr
= doc.createAttributeNS(namespaceURI, malformedName);
createAttributeNS02.java
73
Attr
newAttr
;
79
newAttr
= doc.createAttributeNS(namespaceURI, qualifiedName);
createAttributeNS04.java
75
Attr
newAttr
;
81
newAttr
= doc.createAttributeNS(namespaceURI, qualifiedName);
createAttributeNS06.java
65
Attr
newAttr
;
71
newAttr
= doc.createAttributeNS(namespaceURI, "");
importNode01.java
76
Attr
newAttr
;
96
newAttr
= aNewDoc.createAttribute("elem:attr1");
98
aNode =
newAttr
.appendChild(importedChild);
99
aNode = doc.importNode(
newAttr
, false);
removeNamedItemNS01.java
79
Attr
newAttr
;
87
newAttr
= (Attr) attributes.getNamedItem("dmstc:domestic");
88
assertNull("nodeRemoved",
newAttr
);
setAttributeNodeNS02.java
41
* "setAttributeNodeNS(
newAttr
)" method.
84
Attr
newAttr
;
100
newAttr
= doc.createAttributeNS("www.xyz.com", "emp:local1");
105
setAttr1 = genElement.setAttributeNodeNS(
newAttr
);
setAttributeNodeNS04.java
34
* The "setAttributeNodeNS(
newAttr
)" adds a new attribute.
79
Attr
newAttr
;
86
newAttr
= doc.createAttributeNS("http://www.nist.gov", "xxx:domestic");
87
newAddrAttr = ((Element) /*Node */testAddr).setAttributeNodeNS(
newAttr
);
setAttributeNodeNS05.java
34
* The "setAttributeNodeNS(
newAttr
)" method raises an
35
* "WRONG_DOCUMENT_ERR DOMException if the "
newAttr
"
44
* This test uses the "createAttributeNS(
newAttr
)" method
75
String namespaceURI = "http://www.
newattr
.com";
76
String qualifiedName = "emp:
newAttr
";
79
Attr
newAttr
;
85
newAttr
= doc2.createAttributeNS(namespaceURI, qualifiedName);
92
setAttr1 = ((Element) /*Node */testAddr).setAttributeNodeNS(
newAttr
);
attrgetownerelement02.java
76
Attr
newAttr
;
80
newAttr
= element.setAttributeNodeNS(attr);
createAttributeNS03.java
72
Attr
newAttr
;
109
newAttr
= doc.createAttributeNS(namespaceURI, qualifiedName);
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
elementsetattributenodenomodificationallowederr.java
31
* The "setAttributeNode(
newAttr
)" method for an attribute causes the
37
* from the entity reference by executing the "setAttributeNode(
newAttr
)" method.
73
Attr
newAttr
;
89
newAttr
= doc.createAttribute("
newAttr
");
94
badAttr = entElement.setAttributeNode(
newAttr
);
elementsetattributenodenomodificationallowederrEE.java
31
* The "setAttributeNode(
newAttr
)" method for an attribute causes the
37
* from the entity reference by executing the "setAttributeNode(
newAttr
)" method.
79
Attr
newAttr
;
90
newAttr
= doc.createAttribute("
newAttr
");
95
badAttr = entElement.setAttributeNode(
newAttr
);
/libcore/luni/src/main/java/org/w3c/dom/
Element.java
118
* @param
newAttr
The <code>Attr</code> node to add to the attribute list.
119
* @return If the <code>
newAttr
</code> attribute replaces an existing
123
* WRONG_DOCUMENT_ERR: Raised if <code>
newAttr
</code> was created from a
126
* <br>INUSE_ATTRIBUTE_ERR: Raised if <code>
newAttr
</code> is already an
131
public Attr setAttributeNode(Attr
newAttr
)
287
* @param
newAttr
The <code>Attr</code> node to add to the attribute list.
288
* @return If the <code>
newAttr
</code> attribute replaces an existing
293
* WRONG_DOCUMENT_ERR: Raised if <code>
newAttr
</code> was created from a
296
* <br>INUSE_ATTRIBUTE_ERR: Raised if <code>
newAttr
</code> is already an
305
public Attr setAttributeNodeNS(Attr
newAttr
)
[
all
...]
/external/webkit/LayoutTests/dom/xhtml/level3/core/
nodecomparedocumentposition11.js
89
var
newAttr
;
102
newAttr
= doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
103
replacedAttr = elem.setAttributeNodeNS(
newAttr
);
104
attrPosition =
newAttr
.compareDocumentPosition(doc);
Completed in 4540 milliseconds
1
2
3
4