org.equanda.export
Class ExportFieldEvaluator

java.lang.Object
  extended by org.equanda.export.ExportFieldEvaluator
All Implemented Interfaces:
ExportEvaluator

public class ExportFieldEvaluator
extends Object
implements ExportEvaluator

ExportEvaluator which allows getting field values through reflection.

Author:
Joachim Van der Auwera

Field Summary
protected  EquandaProxy proxy
           
 
Constructor Summary
ExportFieldEvaluator(EquandaProxy proxy)
          Create an evaluator for a specific EquandaProxy object
 
Method Summary
 Object getParentContext(String expression)
          evaluate expression using reflection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxy

protected EquandaProxy proxy
Constructor Detail

ExportFieldEvaluator

public ExportFieldEvaluator(EquandaProxy proxy)
Create an evaluator for a specific EquandaProxy object

Parameters:
proxy - proxy
Method Detail

getParentContext

public Object getParentContext(String expression)
                        throws ExportException
evaluate expression using reflection

Specified by:
getParentContext in interface ExportEvaluator
Parameters:
expression - expression to evaluate
Returns:
evalutaed expression
Throws:
ExportException - oops


Copyright © 2007-2009. All Rights Reserved.