Class FunctionProviderConfig


  • public class FunctionProviderConfig
    extends Object
    Represents the configuration of a function provider, and builds the function provider that it represents.
    • Constructor Detail

      • FunctionProviderConfig

        public FunctionProviderConfig​(String className,
                                      List<ConstructorArgument> args)
        Constructor arguments are annotated so that the Simple XML framework can use constructor injection to create an immutable object.
        Parameters:
        className - the name of the function provider class to instantiate
        args - the arguments to pass to the constructor during instantiation
    • Method Detail

      • getFunctionProvider

        public FunctionProvider getFunctionProvider()
        Gets an instance of the function provider that is defined in the XML config this object represents.
        Returns:
        an instance of the function provider as defined in the XML config this object represents.
        Throws:
        ExpressionEngineException