Interface IMatchTypeFactory

All Known Implementing Classes:
DefaultMatchTypeFactory, LinkedMatchTypeFactory, MatchTypeFactory

public interface IMatchTypeFactory
This interface may be implemented by objects capable of providing match function implementations.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
  • Method Details

    • getMatchFunction

      IMatchFunction getMatchFunction(String typeName, String name, IMatchFunctionParameters parameters)
      This method constructs a match function for a specific match type definition with the specified name and parameters. After construction of this function the object is expected to be reentrant. When a match function could not be created the factory should throw an exception, when the match function could not be found a null pointer should be returned.
      Parameters:
      typeName - The type name of the match function.
      name - The name of the user created match function.
      parameters - The parameters which can be used to initialize a match function with specific settings.
      Returns:
      A match function implementation object. If the match function was unknown null can be returned.
      Throws:
      InitializationException - This exception is thrown when the match function could not be initialized, for instance due to invalid parameters.