Class HtmxOneNineTenScriptPreProcessor

java.lang.Object
org.htmlunit.javascript.preprocessor.HtmxOneNineTenScriptPreProcessor
All Implemented Interfaces:
ScriptPreProcessor

public class HtmxOneNineTenScriptPreProcessor extends Object implements ScriptPreProcessor
PreProzessor to fix one default parameter method.
  • Field Details

  • Constructor Details

    • HtmxOneNineTenScriptPreProcessor

      public HtmxOneNineTenScriptPreProcessor()
    • HtmxOneNineTenScriptPreProcessor

      public HtmxOneNineTenScriptPreProcessor(ScriptPreProcessor nextScriptPreProcessor)
  • Method Details

    • preProcess

      public String preProcess(HtmlPage htmlPage, String sourceCode, 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