Package sisc.data

Examples of sisc.data.ImmutableString


  {
    SchemeSitemap sitemap = schemeSitemap(scm);
    String source = string(ssource);

    String content = sitemap.readResource(source);
    return new ImmutableString(content);
  }
View Full Code Here


  {
    String requestedURI = environment.getURI();

    J2S.JavaObject ssitemap = new J2S.JavaObject(this);
    J2S.JavaObject senv = new J2S.JavaObject(environment);
    ImmutableString servletPath = new ImmutableString(requestedURI);
    Value[] args = new Value[] {servletPath, ssitemap, senv};

    SchemeInterpreter interpreters
      = (SchemeInterpreter)manager.lookup(SchemeInterpreter.ROLE);
    Interpreter interp = interpreters.getInterpreter();
View Full Code Here

    String paramName = string(sparamName);
    Map objectModel = environment.getObjectModel();
    Request request = (Request)objectModel.get(Constants.REQUEST_OBJECT);

    String value = request.getParameter(paramName);
    return value == null ? null : new ImmutableString(value);
  }
View Full Code Here

        continuationId = new String(result);
      } while (continuations.containsKey(continuationId));
      continuations.put(continuationId, kont);
    }

    return new ImmutableString(continuationId);
  }
View Full Code Here

  {
    String requestedURI = environment.getURI();

    J2S.JavaObject ssitemap = new J2S.JavaObject(this);
    J2S.JavaObject senv = new J2S.JavaObject(environment);
    ImmutableString servletPath = new ImmutableString(requestedURI);
    Value[] args = new Value[] {servletPath, ssitemap, senv};

    SchemeInterpreter interpreters
      = (SchemeInterpreter)manager.lookup(SchemeInterpreter.ROLE);
    Interpreter interp = interpreters.getInterpreter();
View Full Code Here

      int size = params.size();
      Value[] args = new Value[size];

      for (int i = 0; i < size; i++) {
        args[i]
          = new ImmutableString(((Interpreter.Argument)params.get(i)).value);
      }

      Symbol funSym = Symbol.get(funName);
      Procedure function = (Procedure)interp.ctx.toplevel_env.lookup(funSym);
      interp.eval(function, args);
View Full Code Here

TOP

Related Classes of sisc.data.ImmutableString

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.