org.pentaho.reporting.engine.classic.core.modules.misc.datafactory
Interface ScriptValueConverter

All Known Implementing Classes:
JavascriptValueConverter, RhinoValueConverter

public interface ScriptValueConverter


Method Summary
 Object convert(Object o)
          Attempts to convert a script-engine internal value to a pure java value.
 

Method Detail

convert

Object convert(Object o)
Attempts to convert a script-engine internal value to a pure java value. It is important to return null for all values that cannot be converted by this implementation to let other implementations have its turn.

Parameters:
o - the value to be converted.
Returns:
the converted value or null if the value is not convertible.