Class HtmxOneNineTenScriptPreProcessor
- java.lang.Object
-
- org.htmlunit.javascript.preprocessor.HtmxOneNineTenScriptPreProcessor
-
- All Implemented Interfaces:
ScriptPreProcessor
public class HtmxOneNineTenScriptPreProcessor extends java.lang.Object implements ScriptPreProcessor
PreProzessor to fix one default parameter method.
-
-
Field Summary
Fields Modifier and Type Field Description private ScriptPreProcessor
nextScriptPreProcessor_
-
Constructor Summary
Constructors Constructor Description HtmxOneNineTenScriptPreProcessor()
HtmxOneNineTenScriptPreProcessor(ScriptPreProcessor nextScriptPreProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
preProcess(HtmlPage htmlPage, java.lang.String sourceCode, java.lang.String sourceName, int lineNumber, HtmlElement htmlElement)
Pre process the specified source code in the context of the given page.
-
-
-
Field Detail
-
nextScriptPreProcessor_
private final ScriptPreProcessor nextScriptPreProcessor_
-
-
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 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
-
-