|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentLinker
Responsible for injecting script and style links into the <head> and <body> element of the rendered HTML document.
| Method Summary | |
|---|---|
void |
addScript(String script)
Adds JavaScript code. |
void |
addScriptLink(String scriptURL)
Adds a link to load a script. |
void |
addStylesheetLink(String styleURL,
String media)
Adds a link to load a CSS stylesheet. |
| Method Detail |
|---|
void addScriptLink(String scriptURL)
void addStylesheetLink(String styleURL,
String media)
styleURL - URL of stylesheet to loadmedia - media value (or null to omit the media attribute)void addScript(String script)
script - statement to add to the block (a newline will be appended as well)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||