Class HtmxOneNineTenScriptPreProcessor
java.lang.Object
org.htmlunit.javascript.preprocessor.HtmxOneNineTenScriptPreProcessor
- All Implemented Interfaces:
ScriptPreProcessor
PreProzessor to fix one default parameter method.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpreProcess
(HtmlPage htmlPage, String sourceCode, String sourceName, int lineNumber, HtmlElement htmlElement) Pre process the specified source code in the context of the given page.
-
Field Details
-
nextScriptPreProcessor_
-
-
Constructor Details
-
HtmxOneNineTenScriptPreProcessor
public HtmxOneNineTenScriptPreProcessor() -
HtmxOneNineTenScriptPreProcessor
-
-
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 interfaceScriptPreProcessor
- Parameters:
htmlPage
- the pagesourceCode
- the code to executesourceName
- a name for the chunk of code that is going to be executed (used in error messages)lineNumber
- the line number of the source codehtmlElement
- the HTML element that will act as the context- Returns:
- the source code after pre processing
-