FileDocCategorySizeDatePackage
HCEntitiesSetNamedItemNS.javaAPI DocAndroid 1.5 API2572Wed May 06 22:41:06 BST 2009tests.org.w3c.dom

HCEntitiesSetNamedItemNS

public final class HCEntitiesSetNamedItemNS extends DOMTestCase
An attempt to add an element to the named node map returned by entities should result in a NO_MODIFICATION_ERR or HIERARCHY_REQUEST_ERR.
author
Curt Arnold
see
http://www.w3.org/TR/DOM-Level-2-Core/core#ID-1788794630
see
http://www.w3.org/TR/DOM-Level-2-Core/core#ID-setNamedItemNS

Fields Summary
DOMDocumentBuilderFactory
factory
DocumentBuilder
builder
Constructors Summary
Methods Summary
protected voidsetUp()

        super.setUp();
        try {
            factory = new DOMDocumentBuilderFactory(DOMDocumentBuilderFactory
                    .getConfiguration1());
            builder = factory.getBuilder();
        } catch (Exception e) {
            fail("Unexpected exception" + e.getMessage());
        }
    
protected voidtearDown()

        factory = null;
        builder = null;
        super.tearDown();