Interface IFormulaEvaluator

All Known Implementing Classes:
BaseFormulaEvaluator, FileURIAsURLFormulaEvaluotor, ListAsImageFormulaEvaluator, ProtocolURIFormulaEvaluator

public interface IFormulaEvaluator
This interface can be used in your own evaluator for provide formula

It's supported by example implementation you can add own formula

Author:
famaridon
  • Method Summary

    Modifier and Type
    Method
    Description
    evaluate(Object value, String bookmark)
    Evaluate a value
    evaluate(Object value, String bookmark, Object... source)
    evaluate the value with own algorithm
    Prefix who indicate to use this FormulaEvaluator
    void
    setPrefix(String prefix)
    Prefix who indicate to use this FormulaEvaluator Warning 2 FormulaExtention can't have the same prefix, else use last added
  • Method Details

    • evaluate

      Object evaluate(Object value, String bookmark)
      Evaluate a value
      Parameters:
      value - the value
      bookmark - the bookmark
      Returns:
      the evaluation
    • evaluate

      Object evaluate(Object value, String bookmark, Object... source)
      evaluate the value with own algorithm
      Parameters:
      value - the value
      bookmark - the bookmark without prefix
      source - more Object you can need
      Returns:
      the evaluation
    • getPrefix

      String getPrefix()
      Prefix who indicate to use this FormulaEvaluator
      Returns:
      the Formula Prefix
    • setPrefix

      void setPrefix(String prefix)
      Prefix who indicate to use this FormulaEvaluator Warning 2 FormulaExtention can't have the same prefix, else use last added