Code example for DOMImplementation

Methods: hasFeature

0
        args = {java.lang.String.class, java.lang.String.class}
    ) 
    public void testHasFeatureCore() throws Throwable { 
        Document doc;
        DOMImplementation domImpl;
        boolean state;
        doc = (Document) load("staff", builder);
        domImpl = doc.getImplementation();
        state = domImpl.hasFeature("core", "2.0");
        assertTrue("domimplementationFeaturecoreAssert", state);
    } 
    @TestTargetNew( 
        level = TestLevel.PARTIAL, 
        notes = "Verifies that hasFeature returns true value.", 
        method = "hasFeature", 
        args = {java.lang.String.class, java.lang.String.class}
    ) 
    public void testHasFeatureXml() throws Throwable { 
        Document doc;
        DOMImplementation domImpl;
        boolean state;