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
167
) sorted by null
1
2
3
4
5
6
7
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
createDocument05.java
34
* The "createDocument(
namespaceURI
,qualifiedName,doctype)" method for a
38
* Invoke method createDocument(
namespaceURI
,qualifiedName,doctype) on
39
* this domimplementation with
namespaceURI
equals "http://www.ecommerce.org/schema",
69
String
namespaceURI
= "http://www.ecommerce.org/schema";
78
illegalQNames.add("
namespaceURI
:{");
79
illegalQNames.add("
namespaceURI
:}");
80
illegalQNames.add("
namespaceURI
:~");
81
illegalQNames.add("
namespaceURI
:'");
82
illegalQNames.add("
namespaceURI
:!");
83
illegalQNames.add("
namespaceURI
:@")
[
all
...]
createDocument07.java
34
* The "createDocument(
namespaceURI
,qualifiedName,doctype)" method for a
39
* Invoke method createDocument(
namespaceURI
,qualifiedName,doctype) on
40
* this domimplementation.
namespaceURI
is "http://www.ecommerce.org/schema"
69
String
namespaceURI
= "http://www.ecommerce.org/schema";
80
aNewDoc = domImpl.createDocument(
namespaceURI
, qualifiedName, docType);
createDocumentType03.java
67
String
namespaceURI
= "http://ecommerce.org/schema";
documentcreateattributeNS02.java
37
*
namespaceURI
, and a qualifiedName as below. This should return a valid Attr node.
72
String
namespaceURI
;
79
namespaceURI
= attribute1.getNamespaceURI();
84
assertEquals("documentcreateattributeNS02_att1_namespaceURI", "http://www.w3.org/XML/1998/namespace",
namespaceURI
);
90
namespaceURI
= attribute2.getNamespaceURI();
94
assertEquals("documentcreateattributeNS02_att2_namespaceURI", "http://www.w3.org/2000/xmlns/",
namespaceURI
);
documentcreateattributeNS05.java
35
* the
namespaceURI
is null.
38
*
namespaceURI
, and a valid qualifiedName. Check if a NAMESPACE_ERR is thrown.
72
String
namespaceURI
= null;
82
attribute = newDoc.createAttributeNS(
namespaceURI
, qualifiedName);
documentcreateattributeNS06.java
35
* is "xml" and the
namespaceURI
is different from "http://www.w3.org/XML/1998/namespace".
38
* as xml:root and
namespaceURI
as http://www.w3.org/XML/1998 /namespace.
73
String
namespaceURI
= "http://www.w3.org/XML/1998 /namespace";
82
attribute = newDoc.createAttributeNS(
namespaceURI
, qualifiedName);
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");
Completed in 638 milliseconds
1
2
3
4
5
6
7