Class ConstantsProcessor

  • All Implemented Interfaces:
    VariablesProcessor

    public class ConstantsProcessor
    extends Object
    implements VariablesProcessor
    Variables processor for constants. Useful for html tags with colide with variables processor syntax for example   etc.
    Author:
    another
    • Constructor Detail

      • ConstantsProcessor

        public ConstantsProcessor()
    • Method Detail

      • replace

        public String replace​(String prefix,
                              String variable,
                              String defValue,
                              jakarta.servlet.http.HttpServletRequest req)
        Description copied from interface: VariablesProcessor
        Replace method.
        Specified by:
        replace in interface VariablesProcessor
        Parameters:
        prefix - processor prefix
        variable - variable to replace
        defValue - default value
        req - request
        Returns:
        replaced text