org.w3c.domts.level2.core
Class setNamedItemNS03
public final class setNamedItemNS03
The "setNamedItemNS(arg)" method for a
NamedNodeMap should add a node using its namespaceURI and localName given that
there is no existing node with the same namespaceURI and localName in the map.
Create an attr node with namespaceURI "http://www.nist.gov",qualifiedName
"prefix:newAttr" and value "newValue".
Invoke method setNamedItemNS(arg) on the map of the first "address"
element where arg is identified by the namespaceURI and qualifiedName
from above. Method should return the newly added attr node.
String | getTargetURI() - Gets URI that identifies the test.
|
static void | main(String[] args) - Runs this test from the command line.
|
void | runTest() - Runs the test case.
|
assertEqualAutoCase , assertEquals , assertEquals , assertEquals , assertEquals , assertEquals , assertEquals , assertEqualsAutoCase , assertEqualsAutoCase , assertEqualsIgnoreCase , assertEqualsIgnoreCase , assertEqualsIgnoreCase , assertFalse , assertFalse , assertInstanceOf , assertNotEquals , assertNotEquals , assertNotEquals , assertNotEqualsAutoCase , assertNotEqualsIgnoreCase , assertNotNull , assertNull , assertSame , assertSize , assertSize , assertSize , assertTrue , assertTrue , assertURIEquals , doMain , equals , equals , equals , equals , equals , equalsAutoCase , equalsAutoCase , equalsAutoCase , equalsIgnoreCase , equalsIgnoreCase , equalsIgnoreCase , fail , runTest , same , setFramework , size , size , size , wait |
createStream , createTempURI , createXPathEvaluator , getContentType , getFactory , getImplementation , getMutationCount , getResourceURI , getTargetURI , hasFeature , hasSetting , isCoalescing , isExpandEntityReferences , isHasNullString , isIgnoringElementContentWhitespace , isNamespaceAware , isSigned , isValidating , load , preload , setFactory |
getTargetURI
public String getTargetURI()
Gets URI that identifies the test.
- getTargetURI in interface DOMTest
main
public static void main(String[] args)
Runs this test from the command line.
args
- command line arguments
runTest
public void runTest()
throws Throwable
Runs the test case.
- runTest in interface DOMTestCase