juzu.plugin.less.impl.lesser.jsr223
Class JSR223Context

java.lang.Object
  extended by juzu.plugin.less.impl.lesser.JSContext
      extended by juzu.plugin.less.impl.lesser.jsr223.JSR223Context

public class JSR223Context
extends JSContext

Author:
Julien Viet

Method Summary
static JSR223Context create()
           
 Object eval(String script)
           
 Object invokeFunction(String name, Object... args)
           
 void put(String name, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static JSR223Context create()

put

public void put(String name,
                Object value)
Specified by:
put in class JSContext

eval

public Object eval(String script)
            throws Exception
Specified by:
eval in class JSContext
Throws:
Exception

invokeFunction

public Object invokeFunction(String name,
                             Object... args)
                      throws Exception
Specified by:
invokeFunction in class JSContext
Throws:
Exception


Copyright © 2014 eXo Platform SAS. All rights reserved.