Examples of Script


Examples of groovy.lang.Script

        parser.initialize(resource, getClassResolver());

        GroovyCodeSource source = new GroovyCodeSource(resource.getResourceURL());

        Script script = new GroovyShell().parse(source);

        try
        {
            runScript(script, parser);
View Full Code Here

Examples of l2p.extensions.scripts.Script

    if(l2p.extensions.scripts.ScriptManager.loading)
    {
      return null;
    }
    ScriptObject o;
    Script scriptClass = ScriptManager.getInstance().getClasses().get(_class);
    if(scriptClass == null)
    {
      _log.info("Script class " + _class + " not found");
      return null;
    }
    try
    {
      o = scriptClass.newInstance();
    }
    catch(Exception e)
    {
      e.printStackTrace();
      return null;
View Full Code Here

Examples of net.cakenet.jsaton.script.Script

        debug.setEditor(editor);
        save.setEnabled(true);
        saveas.setEnabled(true);
        closeAction.setEnabled(true);
        scriptPropertiesAction.setEnabled(true);
        Script script = editor.script;
        currentEditor = editor;
        script.removePropertyChangeListener(scriptPropertyListener);
        script.addPropertyChangeListener(scriptPropertyListener);
        script.fireStateChange();
    }
View Full Code Here

Examples of net.raymanoz.migrate.Script

     
      @Override
      public void doMigration() {
        for(int idx = 0; idx < noScriptsToMigrate(); idx++){
          final int scriptIdx = idx + 1;
          Script script = new Script() {
           
            @Override
            public Set<String> variablesRequiringDialog() {
              return null;
            }
View Full Code Here

Examples of net.sourceforge.htmlunit.corejs.javascript.Script

   */
  @GlobalFunction
  public static void loadClass( Context cx, Scriptable thisObj, Object[] args, Function funObj ) throws IllegalAccessException, InstantiationException, InvocationTargetException {
    Class clazz = getClass( args );
    if ( !Script.class.isAssignableFrom( clazz ) ) { throw reportRuntimeError( "msg.must.implement.Script" ); }
    Script script = (Script) clazz.newInstance();
    script.exec( cx, thisObj );
  }
View Full Code Here

Examples of net.xoetrope.builder.w3c.html.tags.Script

      htmlTags.put( HTML.Tag.OPTION, new XDataTagHandler( HTML.Tag.OPTION ));
      htmlTags.put( HTML.Tag.P, new P());
      htmlTags.put( HTML.Tag.PARAM, new XDataTagHandler( HTML.Tag.PARAM ));
      htmlTags.put( HTML.Tag.PRE, new XFormatTagHandler( HTML.Tag.PRE ));
      htmlTags.put( HTML.Tag.SAMP, new XFormatTagHandler( HTML.Tag.SAMP ));
      htmlTags.put( HTML.Tag.SCRIPT, new Script());
      htmlTags.put( HTML.Tag.SELECT, new Select());
      htmlTags.put( HTML.Tag.SMALL, new XFormatTagHandler( HTML.Tag.SMALL ));
      htmlTags.put( HTML.Tag.SPAN, new Span());
      htmlTags.put( HTML.Tag.STRIKE, new XFormatTagHandler( HTML.Tag.STRIKE ));
      htmlTags.put( HTML.Tag.S, new XFormatTagHandler( HTML.Tag.S ));
View Full Code Here

Examples of nexj.core.meta.workflow.Script

               else
               {
                  code = sEventName;
               }

               Script script = new Script();

               script.setBody(Pair.list(Pair.list(Symbol.SET, var.getSymbol(), code)));
               activity.addStep(script);
               fork.addConcurrent(activity);
            }

            if (branch == null)
View Full Code Here

Examples of org.apache.abdera.i18n.rfc4646.enums.Script

            case PRIMARY: {
                Language e = getEnum();
                return e.isDeprecated();
            }
            case SCRIPT: {
                Script e = getEnum();
                return e.isDeprecated();
            }
            case REGION: {
                Region e = getEnum();
                return e.isDeprecated();
            }
            case VARIANT: {
                Variant e = getEnum();
                return e.isDeprecated();
            }
            case EXTLANG: {
                Extlang e = getEnum();
                return e.isDeprecated();
            }
            case EXTENSION: {
                Singleton e = getEnum();
                return e.isDeprecated();
            }
            default:
                return false;
        }
    }
View Full Code Here

Examples of org.apache.axis.components.script.Script

                    rpcParam.setValue(value);
                }
                argValues[i] = value;
            }

            Script script = ScriptFactory.getScript();
            Object result = script.run(language, service.getName(), scriptStr, methodName, argValues);

            RPCElement resBody = new RPCElement(methodName + "Response");
            resBody.setPrefix(body.getPrefix());
            resBody.setNamespaceURI(body.getNamespaceURI());
            resBody.setEncodingStyle(msgContext.getEncodingStyle());
View Full Code Here

Examples of org.apache.batik.svggen.font.table.Script

        GsubTable gsub = (GsubTable) font.getTable(Table.GSUB);
        SingleSubst initialSubst = null;
        SingleSubst medialSubst = null;
        SingleSubst terminalSubst = null;
        if (gsub != null) {
            Script s = gsub.getScriptList().findScript(SCRIPT_TAG_ARAB);
            if (s != null) {
                LangSys ls = s.getDefaultLangSys();
                if (ls != null) {
                    Feature init = gsub.getFeatureList().findFeature(ls, FEATURE_TAG_INIT);
                    Feature medi = gsub.getFeatureList().findFeature(ls, FEATURE_TAG_MEDI);
                    Feature fina = gsub.getFeatureList().findFeature(ls, FEATURE_TAG_FINA);
                   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.