org.w3c.domts.level2.core
Class namednodemapsetnameditemns07
public final class namednodemapsetnameditemns07
The method setNamedItemNS adds a node using its namespaceURI and localName and
raises a INUSE_ATTRIBUTE_ERR Raised if arg is an Attr that is already an
attribute of another Element object.
Retreieve the attributes of first element whose localName is address into a named node map.
Retreive the attribute whose namespaceURI=http://www.usa.com and localName=domestic
from the NamedNodeMap. Retreieve the attributes of second element whose localName is address
into a named node map. Call the setNamedItemNS method on the second nodemap with the domestic
attribute that was retreived and removed from the first nodeMap as an argument.
Assuming that when an attribute is removed from a nodemap, it still remains in the domtree
his should raise an INUSE_ATTRIBIUTE_ERR.
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