com.google.sitebricks
Class MvelEvaluator

java.lang.Object
  extended by com.google.sitebricks.MvelEvaluator
All Implemented Interfaces:
Evaluator

@ThreadSafe
public class MvelEvaluator
extends Object
implements Evaluator

Author:
Dhanji R. Prasanna (dhanji@gmail.com)

Constructor Summary
MvelEvaluator()
           
 
Method Summary
 Object evaluate(String expr, Object bean)
           
 Object read(String property, Object contextObject)
           
 void write(String expr, Object bean, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MvelEvaluator

public MvelEvaluator()
Method Detail

evaluate

@Nullable
public Object evaluate(String expr,
                                Object bean)
Specified by:
evaluate in interface Evaluator

write

public void write(String expr,
                  Object bean,
                  Object value)
Specified by:
write in interface Evaluator

read

public Object read(String property,
                   Object contextObject)
Specified by:
read in interface Evaluator


Copyright © 2014. All rights reserved.