org.apache.cocoon.components.expression
Class AbstractExpression

java.lang.Object
  extended by org.apache.cocoon.components.expression.AbstractExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
JavaScriptExpression, JexlExpression

public abstract class AbstractExpression
extends Object
implements Expression

Version:
$Id: AbstractExpression.html 1304258 2012-03-23 10:09:27Z ilgrosso $

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

Field Detail

EMPTY_ITER

protected static final Iterator EMPTY_ITER
Constructor Detail

AbstractExpression

public AbstractExpression(String language,
                          String expression)
Method Detail

getExpression

public String getExpression()
Specified by:
getExpression in interface Expression

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface Expression

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface Expression


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