|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IScriptProcessor
Defines methods needed by a IScriptto execute.
Body| Method Summary | |
|---|---|
void |
addBodyScript(IComponent target,
String script)
Adds scripting code to the main body. |
void |
addBodyScript(String script)
Deprecated. To be removed sometime after 4.1. |
void |
addExternalScript(IComponent target,
Resource resource)
Adds an external script. |
void |
addExternalScript(Resource resource)
Deprecated. To be removed sometime after 4.1 |
void |
addInitializationScript(IComponent target,
String script)
Adds initialization script. |
void |
addInitializationScript(String script)
Deprecated. To be removed sometime after 4.1. |
String |
getUniqueString(String baseValue)
Ensures that the given string is unique. |
| Method Detail |
|---|
void addBodyScript(String script)
Body component will write the body script contents
just inside the <body> tag.
#addBodyScript(IComponent, String)}
void addBodyScript(IComponent target,
String script)
Body component will write the body script contents
just inside the <body> tag.
target - The component this script is being added for.script - The script to add to the body response.void addInitializationScript(String script)
</body> tag).
#addInitializationScript(IComponent, String)}
void addInitializationScript(IComponent target,
String script)
</body> tag).
target - The component the script is being added for.script - The script to add.void addExternalScript(Resource resource)
#addExternalScript(IComponent, Resource)}
void addExternalScript(IComponent target,
Resource resource)
target - The component the script is being added for.resource - The external script to add.String getUniqueString(String baseValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||