Class MacroSubstitutionManager

    • Constructor Detail

      • MacroSubstitutionManager

        public MacroSubstitutionManager​(String prefix,
                                        String suffix,
                                        Object dataSource)
        Parameters:
        prefix - The prefix.
        suffix - The suffix.
        dataSource - The data source to pull from.
      • MacroSubstitutionManager

        public MacroSubstitutionManager​(String prefix,
                                        String suffix,
                                        String parameterPrefix,
                                        String parameterSuffix,
                                        String separator,
                                        Object dataSource)
        Parameters:
        prefix - The prefix.
        suffix - The suffix.
        parameterPrefix - The parameter prefix.
        parameterSuffix - The parameter suffix.
        separator - The separator.
        dataSource - The data source to pull from.
    • Method Detail

      • substitute

        public String substitute​(String originalText)
        Specified by:
        substitute in interface IMacroManager
        Parameters:
        originalText - The text to perform substitutions on.
        Returns:
        The substituted text.