org.pentaho.di.core.config
Class OgnlExpression

java.lang.Object
  extended by org.pentaho.di.core.config.OgnlExpression

public class OgnlExpression
extends Object

Utility class to encapsulate OGNL expressions.

Author:
Alex Silva

Constructor Summary
OgnlExpression(String expressionString)
           
 
Method Summary
 Object getExpression()
           
 Object getValue(ognl.OgnlContext context, Object rootObject)
           
 void setValue(ognl.OgnlContext context, Object rootObject, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OgnlExpression

public OgnlExpression(String expressionString)
               throws ognl.OgnlException
Throws:
ognl.OgnlException
Method Detail

getExpression

public Object getExpression()

getValue

public Object getValue(ognl.OgnlContext context,
                       Object rootObject)
                throws ognl.OgnlException
Throws:
ognl.OgnlException

setValue

public void setValue(ognl.OgnlContext context,
                     Object rootObject,
                     Object value)
              throws ognl.OgnlException
Throws:
ognl.OgnlException