Code example for Document

Methods: getImplementation

0
        for (int indexN1006B = 0; indexN1006B < qualifiedNames.size(); indexN1006B++) {
            qualifiedName = (String) qualifiedNames.get(indexN1006B);
            newDoc = domImpl.createDocument(namespaceURI, qualifiedName,
                    docType);
            assertNotNull("domimplementationcreatedocument03", newDoc);
        } 
    } 
    @TestTargetNew( 
        level = TestLevel.PARTIAL, 
        notes = "Verifies DOMException with NAMESPACE_ERR code.", 
        method = "createDocument", 
        args = {java.lang.String.class, java.lang.String.class, org.w3c.dom.DocumentType.class}
    ) 
    public void testCreateDocument4() throws Throwable { 
        Document doc;
        DOMImplementation domImpl;
 
        String namespaceURI = null;
 
        String qualifiedName = "dom:root";
        DocumentType docType = null;