Class HtmxOneNineTenScriptPreProcessor

  • All Implemented Interfaces:
    ScriptPreProcessor

    public class HtmxOneNineTenScriptPreProcessor
    extends java.lang.Object
    implements ScriptPreProcessor
    PreProzessor to fix one default parameter method.
    • Constructor Detail

      • HtmxOneNineTenScriptPreProcessor

        public HtmxOneNineTenScriptPreProcessor()
      • HtmxOneNineTenScriptPreProcessor

        public HtmxOneNineTenScriptPreProcessor​(ScriptPreProcessor nextScriptPreProcessor)
    • Method Detail

      • preProcess

        public java.lang.String preProcess​(HtmlPage htmlPage,
                                           java.lang.String sourceCode,
                                           java.lang.String sourceName,
                                           int lineNumber,
                                           HtmlElement htmlElement)
        Description copied from interface: ScriptPreProcessor
        Pre process the specified source code in the context of the given page.
        Specified by:
        preProcess in interface ScriptPreProcessor
        Parameters:
        htmlPage - the page
        sourceCode - the code to execute
        sourceName - a name for the chunk of code that is going to be executed (used in error messages)
        lineNumber - the line number of the source code
        htmlElement - the HTML element that will act as the context
        Returns:
        the source code after pre processing