Package org.webharvest.runtime.scripting

Examples of org.webharvest.runtime.scripting.ScriptEngine


        super(loopDef);
        this.loopDef = loopDef;
    }

    public Variable execute(Scraper scraper, ScraperContext context) {
        ScriptEngine scriptEngine = scraper.getScriptEngine();
        String item = BaseTemplater.execute( loopDef.getItem(), scriptEngine);
        String index = BaseTemplater.execute( loopDef.getIndex(), scriptEngine);
        String maxLoopsString = BaseTemplater.execute( loopDef.getMaxloops(), scriptEngine);
        String filter = BaseTemplater.execute( loopDef.getFilter(), scriptEngine);
        boolean isEmpty = CommonUtil.getBooleanValue( BaseTemplater.execute(loopDef.getEmpty(), scriptEngine), false );
View Full Code Here

TOP

Related Classes of org.webharvest.runtime.scripting.ScriptEngine

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.