Interface ExpressionFactory<TYPE>

Type Parameters:
TYPE -
All Known Implementing Classes:
AbstractExpressionFactory

public interface ExpressionFactory<TYPE>
A Factory class that produces ExpressionFactory instances based on an expression.
  • Method Details

    • getExpression

      TYPE getExpression​(String expression, Matcher matcher, Object... args)
      Parse the specified expression into an instance of ExpressionFactory
      Parameters:
      expression - the expression to parse.
      matcher - the completed matcher
      args - the arguments from the source
      Returns:
      a new ExpressionFactory
    • getPattern

      @NotNull String getPattern()
      Get the regex pattern used to match this expression flavor.
      Returns:
      the string pattern