Interface ScriptValueConverter

    • 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.