public interface ScriptPreProcessor
Modifier and Type | Method and Description |
---|---|
String |
preProcess(HtmlPage htmlPage,
String sourceCode,
String sourceName,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page.
|
String preProcess(HtmlPage htmlPage, String sourceCode, String sourceName, HtmlElement htmlElement)
htmlPage
- The pagesourceCode
- The code to execute.sourceName
- A name for the chunk of code that is going to be executed. This will be
used in error messages.htmlElement
- The html element that will act as the context.Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.