org.apache.cocoon.el.impl.javascript
Class JavaScriptCompiler

java.lang.Object
  extended byorg.apache.cocoon.el.impl.javascript.JavaScriptCompiler
All Implemented Interfaces:
org.apache.cocoon.el.ExpressionCompiler

public class JavaScriptCompiler
extends Object
implements org.apache.cocoon.el.ExpressionCompiler

Version:
$Id: JavaScriptCompiler.java 587751 2007-10-24 02:41:36Z vgritsenko $

Field Summary
 
Fields inherited from interface org.apache.cocoon.el.ExpressionCompiler
ROLE
 
Constructor Summary
JavaScriptCompiler()
           
 
Method Summary
 org.apache.cocoon.el.Expression compile(String language, String expression)
           
 org.mozilla.javascript.Scriptable getRootScope()
           
 void setRootScope(org.mozilla.javascript.Scriptable rootScope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptCompiler

public JavaScriptCompiler()
Method Detail

compile

public org.apache.cocoon.el.Expression compile(String language,
                                               String expression)
                                        throws org.apache.cocoon.el.ExpressionException
Specified by:
compile in interface org.apache.cocoon.el.ExpressionCompiler
Throws:
org.apache.cocoon.el.ExpressionException
See Also:
ExpressionCompiler.compile(java.lang.String, java.lang.String)

getRootScope

public org.mozilla.javascript.Scriptable getRootScope()

setRootScope

public void setRootScope(org.mozilla.javascript.Scriptable rootScope)


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.