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

ElementGetAttributeNS

public final class ElementGetAttributeNS extends DOMTestCase
The method getAttributeNS retrieves an attribute value by local name and namespace URI. Using the getAttributeNodeNS, retreive and verify the value of the default attribute node.
author
IBM
author
Neil Delima
see
http://www.w3.org/TR/DOM-Level-2-Core/core#ID-ElGetAttrNS
see
http://www.w3.org/Bugs/Public/show_bug.cgi?id=259

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

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

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