Package csa.jportal.script

Examples of csa.jportal.script.ScriptData


        ScriptDataPool mScriptDataPool = new ScriptDataPool(mCurrentCard.getScriptPoolBaseName()+".xml");

        for (int i=0;i<CardSituation.KEY.length;i++)
        {
            String scriptForKey =otherCard.getPureScript(CardSituation.KEY[i]);
            ScriptData data =otherCard.getPureScriptData(CardSituation.KEY[i]);
            if (data != null)
            {
                String script = data.getScript();
                script = csa.util.UtilityString.replace(script, otherCard.getId(), mCurrentCard.getId());
                script = csa.util.UtilityString.replace(script, otherCard.getName(), mCurrentCard.getName());
                data.setScript(script);
                mScriptDataPool.put(data);
            }
        }
        mScriptDataPool.save();
        Configuration.getConfiguration().resetScriptCaching();
View Full Code Here


        ScriptDataPool mScriptDataPool = new ScriptDataPool(mCurrentCard.getScriptPoolBaseName()+".xml");

        for (int i=0;i<CardSituation.KEY.length;i++)
        {
            String scriptForKey =otherCard.getPureScript(CardSituation.KEY[i]);
            ScriptData data =otherCard.getPureScriptData(CardSituation.KEY[i]);
            if (data != null)
            {
                String script = data.getScript();
                script = csa.util.UtilityString.replace(script, otherCard.getId(), mCurrentCard.getId());
                script = csa.util.UtilityString.replace(script, otherCard.getName(), mCurrentCard.getName());
                data.setScript(script);
                mScriptDataPool.put(data);
            }
        }
        mScriptDataPool.save();
        Configuration.getConfiguration().resetScriptCaching();
View Full Code Here

TOP

Related Classes of csa.jportal.script.ScriptData

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.