Package com.meterware.httpunit.parsing

Examples of com.meterware.httpunit.parsing.DocumentAdapter


        return _scriptable;
    }


    public void parse( String text, URL pageURL ) throws SAXException, IOException {
        HTMLParserFactory.getHTMLParser().parse( pageURL, text, new DocumentAdapter() {
            public void setRootNode( Node rootNode ) { HTMLPage.this.setRootNode( rootNode ); }
            public String getIncludedScript( String srcAttribute ) throws IOException { return HTMLPage.this.getIncludedScript( srcAttribute ); }
            public ScriptableDelegate getScriptableObject() { return HTMLPage.this.getScriptableObject().getParent(); }
        });
    }
View Full Code Here

TOP

Related Classes of com.meterware.httpunit.parsing.DocumentAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.