org.apache.cocoon.components.expression.javascript
Class JavaScriptExpression

java.lang.Object
  extended by org.apache.cocoon.components.expression.AbstractExpression
      extended by org.apache.cocoon.components.expression.javascript.JavaScriptExpression
All Implemented Interfaces:
Expression

public class JavaScriptExpression
extends AbstractExpression


Field Summary
 
Fields inherited from class org.apache.cocoon.components.expression.AbstractExpression
EMPTY_ITER
 
Constructor Summary
JavaScriptExpression(String language, String expression)
           
 
Method Summary
 void assign(ExpressionContext context, Object value)
           
 Object evaluate(ExpressionContext context)
           
 Object getNode(ExpressionContext context)
           
 Iterator iterate(ExpressionContext context)
           
 
Methods inherited from class org.apache.cocoon.components.expression.AbstractExpression
getExpression, getLanguage, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptExpression

public JavaScriptExpression(String language,
                            String expression)
Method Detail

evaluate

public Object evaluate(ExpressionContext context)
                throws ExpressionException
Throws:
ExpressionException

iterate

public Iterator iterate(ExpressionContext context)
                 throws ExpressionException
Throws:
ExpressionException

assign

public void assign(ExpressionContext context,
                   Object value)
            throws ExpressionException
Throws:
ExpressionException

getNode

public Object getNode(ExpressionContext context)
               throws ExpressionException
Throws:
ExpressionException


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