|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.domts.DOMTest
org.w3c.domts.DOMTestCase
org.w3c.domts.level2.core.namednodemapsetnameditemns08
raises a INUSE_ATTRIBUTE_ERR Raised if arg is an Attr that is already an attribute of another Element object. Retreieve the first element whose localName is address and its attributes into a named node map. Retreiving the domestic attribute from the namednodemap. Retreieve the second element whose localName is address and its attributes into a named node map. Invoke setNamedItemNS on the second NamedNodeMap specifying the attribute from the first map. This should raise an INUSE_ATTRIBIUTE_ERR.
Constructor Summary | |
namednodemapsetnameditemns08(DOMTestDocumentBuilderFactory factory)
Constructor. |
Method Summary | |
java.lang.String |
getTargetURI()
Gets URI that identifies the test. |
static void |
main(java.lang.String[] args)
Runs this test from the command line. |
void |
runTest()
Runs the test case. |
Methods inherited from class org.w3c.domts.DOMTest |
createStream, createTempURI, createXPathEvaluator, getContentType, getFactory, getImplementation, getMutationCount, getResourceURI, hasFeature, hasSetting, isCoalescing, isExpandEntityReferences, isHasNullString, isIgnoringElementContentWhitespace, isNamespaceAware, isSigned, isValidating, load, preload, setFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public namednodemapsetnameditemns08(DOMTestDocumentBuilderFactory factory) throws DOMTestIncompatibleException
factory
- document factory, may not be null
DOMTestIncompatibleException
- Thrown if test is not compatible with parser configurationMethod Detail |
public void runTest() throws java.lang.Throwable
runTest
in class DOMTestCase
java.lang.Throwable
- Any uncaught exception causes test to failpublic java.lang.String getTargetURI()
getTargetURI
in class DOMTest
public static void main(java.lang.String[] args)
args
- command line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |