OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:namespaceURI
(Results
51 - 75
of
407
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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
.
49
* Invoke the createElementNS method on this Document object with a valid
namespaceURI
80
String
namespaceURI
= "http://www.w3.org/DOM/Test/level2";
88
element = doc.createElementNS(
namespaceURI
, qualifiedName);
documentcreateelementNS06.java
35
* has a prefix that is "xml" and the
namespaceURI
is different
39
* the qualifiedName as xml:root and
namespaceURI
as http://www.w3.org/xml/1998/namespace
74
String
namespaceURI
= "http://www.w3.org/xml/1998/namespace ";
83
element = newDoc.createElementNS(
namespaceURI
, qualifiedName);
documentimportnode05.java
41
* Check the nodeName, nodeType and nodeValue
namespaceURI
of the imported node to
84
String
namespaceURI
;
92
namespaceURI
= importedAttr.getNamespaceURI();
96
assertEquals("documentimportnode05_namespaceURI", "http://www.w3.org/DOM/Test",
namespaceURI
);
domimplementationcreatedocument03.java
90
String
namespaceURI
= "http://www.w3.org/DOMTest/L2";
108
newDoc = domImpl.createDocument(
namespaceURI
, qualifiedName, docType);
getAttributeNS01.java
34
* The "getAttributeNS(
namespaceURI
,localName)" method retrieves an
35
* attribute value by local name and
NamespaceURI
.
74
String
namespaceURI
= "http://www.nist.gov";
84
attrValue = testAddr.getAttributeNS(
namespaceURI
, localName);
getAttributeNS02.java
34
* The "getAttributeNS(
namespaceURI
,localName)" method retrieves an
35
* attribute value by local name and
NamespaceURI
.
68
String
namespaceURI
= "http://www.nist.gov";
78
newAttribute = doc.createAttributeNS(
namespaceURI
, qualifiedName);
85
attrValue = testAddr.getAttributeNS(
namespaceURI
, localName);
getAttributeNS03.java
34
* The "getAttributeNS(
namespaceURI
,localName)" method retrieves an
35
* attribute value by local name and
NamespaceURI
.
67
String
namespaceURI
= "http://www.nist.gov";
77
testAddr.removeAttributeNS(
namespaceURI
, localName);
78
attrValue = testAddr.getAttributeNS(
namespaceURI
, localName);
getAttributeNS04.java
34
* The "getAttributeNS(
namespaceURI
,localName)" method retrieves an
35
* attribute value by local name and
NamespaceURI
.
68
String
namespaceURI
= "http://www.nist.gov";
78
newAttribute = doc.createAttributeNS(
namespaceURI
, qualifiedName);
82
testAddr.setAttributeNS(
namespaceURI
, qualifiedName, "NewValue");
83
attrValue = testAddr.getAttributeNS(
namespaceURI
, localName);
importNode07.java
87
String
namespaceURI
= "http://www.nist.gov";
91
element = aNewDoc.createElementNS(
namespaceURI
, qualifiedName);
removeAttributeNS02.java
34
* The "removeAttributeNS(
namespaceURI
,localName)" removes an attribute by
41
* attribute by invoking the "removeAttributeNS(
namespaceURI
,localName)" method.
84
String
namespaceURI
;
95
namespaceURI
= addrAttr.getNamespaceURI();
99
assertEquals("uri", "http://www.nist.gov",
namespaceURI
);
removeNamedItemNS02.java
34
* The "removeNamedItemNS(
namespaceURI
,localName)" method for a
36
* there is no node with the specified
namespaceURI
and localName in this map.
42
* method removeNamedItemNS(
namespaceURI
,localName).
72
String
namespaceURI
= "http://www.usa.com";
87
removedNode = attributes.removeNamedItemNS(
namespaceURI
, localName);
removeNamedItemNS03.java
34
* The "removeNamedItemNS(
namespaceURI
,localName)" method for a
40
* in the node's map with method removeNamedItemNS(
namespaceURI
,localName).
77
String
namespaceURI
= "http://www.w3.org/2000/xmlns/";
108
removedNode = attributes.removeNamedItemNS(
namespaceURI
, localName);
setAttributeNS03.java
34
* The "setAttributeNS(
namespaceURI
,qualifiedName,value)" method for an attribute causes the
41
* "setAttributeNS(
namespaceURI
,qualifiedName,value)" method.
71
String
namespaceURI
= "www.xyz.com";
99
genElement.setAttributeNS(
namespaceURI
, qualifiedName, "newValue");
setAttributeNS05.java
34
* The "setAttributeNS(
namespaceURI
,qualifiedName,value)" method adds a new attribute.
72
String
namespaceURI
= "http://www.newattr.com";
83
((Element) /*Node */testAddr).setAttributeNS(
namespaceURI
, qualifiedName, "<newValue>");
84
resultAttr = ((Element) /*Node */testAddr).getAttributeNS(
namespaceURI
, localName);
setAttributeNS09.java
34
* The "setAttributeNS(
namespaceURI
,qualifiedName,value)" method adds a new attribute.
71
String
namespaceURI
= "http://www.newattr.com";
85
((Element) /*Node */testAddr).setAttributeNS(
namespaceURI
, qualifiedName, "newValue");
86
addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS(
namespaceURI
, localName);
87
resultAttr = ((Element) /*Node */testAddr).getAttributeNS(
namespaceURI
, localName);
setAttributeNodeNS01.java
39
* a newly created element. The "createAttributeNS(
namespaceURI
,qualifiedName)"
74
String
namespaceURI
= "http://www.newattr.com";
90
newAttr = doc.createAttributeNS(
namespaceURI
, qualifiedName);
setAttributeNodeNS05.java
75
String
namespaceURI
= "http://www.newattr.com";
85
newAttr = doc2.createAttributeNS(
namespaceURI
, qualifiedName);
setNamedItemNS02.java
39
* "dmstc:domestic" and
namespaceURI
is "http://www.usa.com".
72
String
namespaceURI
= "http://www.usa.com";
83
arg = anotherDoc.createAttributeNS(
namespaceURI
, qualifiedName);
setNamedItemNS03.java
35
* NamedNodeMap should add a node using its
namespaceURI
and localName given that
36
* there is no existing node with the same
namespaceURI
and localName in the map.
38
* Create an attr node with
namespaceURI
"http://www.nist.gov",qualifiedName
41
* element where arg is identified by the
namespaceURI
and qualifiedName
69
String
namespaceURI
= "http://www.nist.gov";
80
arg = doc.createAttributeNS(
namespaceURI
, qualifiedName);
86
retnode = attributes.getNamedItemNS(
namespaceURI
, "newAttr");
setNamedItemNS05.java
36
* has the same
namespaceURI
and localName as arg and return n1.
38
* Create an attribute node in with
namespaceURI
"http://www.usa.com"
42
* by
namespaceURI
and qualifiedName from above,whose value is "Yes".
69
String
namespaceURI
= "http://www.usa.com";
79
arg = doc.createAttributeNS(
namespaceURI
, qualifiedName);
/libcore/luni/src/main/java/javax/xml/namespace/
QName.java
97
private final String
namespaceURI
;
145
* @param
namespaceURI
Namespace URI of the <code>QName</code>
148
* @see #QName(String
namespaceURI
, String localPart, String
149
* prefix) QName(String
namespaceURI
, String localPart, String
152
public QName(final String
namespaceURI
, final String localPart) {
153
this(
namespaceURI
, localPart, XMLConstants.DEFAULT_NS_PREFIX);
189
* @param
namespaceURI
Namespace URI of the <code>QName</code>
193
public QName(String
namespaceURI
, String localPart, String prefix) {
196
if (
namespaceURI
== null) {
197
this.
namespaceURI
= XMLConstants.NULL_NS_URI
[
all
...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
AttrImpl.java
42
String
namespaceURI
;
48
AttrImpl(DocumentImpl document, String
namespaceURI
, String qualifiedName) {
50
setNameNS(this,
namespaceURI
, qualifiedName);
71
return
namespaceURI
;
107
this.prefix = validatePrefix(prefix, namespaceAware,
namespaceURI
);
/libcore/luni/src/test/java/tests/org/w3c/dom/
DOMImplementationCreateDocument.java
61
String
namespaceURI
= "http://www.w3.org/DOMTest/L2";
79
newDoc = domImpl.createDocument(
namespaceURI
, qualifiedName,
88
String
namespaceURI
= null;
99
domImpl.createDocument(
namespaceURI
, qualifiedName, docType);
110
String
namespaceURI
= "http://www.w3.org/xml/1998/namespace";
120
domImpl.createDocument(
namespaceURI
, qualifiedName, docType);
131
String
namespaceURI
= "http://www.w3.org/DOMTest/level2";
140
domImpl.createDocument(
namespaceURI
, ":", docType);
GetAttributeNodeNS.java
32
* The "getAttributeNodeNS(
namespaceURI
,localName)" method retrieves an
33
* attribute node by local name and
NamespaceURI
.
75
String
namespaceURI
= "http://www.nist.gov";
85
attribute = testAddr.getAttributeNodeNS(
namespaceURI
, localName);
GetNamedItemNS.java
12
* The "getNamedItemNS(
namespaceURI
,localName)" method for a NamedNodeMap should
13
* return a node specified by localName and
namespaceURI
18
* method getNamedItemNS(
namespaceURI
,localName).
71
String
namespaceURI
= "http://www.usa.com";
82
newAttr = (Attr) attributes.getNamedItemNS(
namespaceURI
, localName);
Completed in 291 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>