|
||||||||||
| 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,
java.lang.String script)
Adds scripting code to the main body. |
void |
addBodyScript(java.lang.String script)
Deprecated. To be removed sometime after 4.1. |
void |
addExternalScript(IComponent target,
org.apache.hivemind.Resource resource)
Adds an external script. |
void |
addExternalScript(org.apache.hivemind.Resource resource)
Deprecated. To be removed sometime after 4.1 |
void |
addInitializationScript(IComponent target,
java.lang.String script)
Adds initialization script. |
void |
addInitializationScript(java.lang.String script)
Deprecated. To be removed sometime after 4.1. |
java.lang.String |
getUniqueString(java.lang.String baseValue)
Ensures that the given string is unique. |
| Method Detail |
|---|
void addBodyScript(java.lang.String script)
Body component will write the body script contents
just inside the <body> tag.
#addBodyScript(IComponent, String)}
void addBodyScript(IComponent target,
java.lang.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(java.lang.String script)
</body> tag).
#addInitializationScript(IComponent, String)}
void addInitializationScript(IComponent target,
java.lang.String script)
</body> tag).
target - The component the script is being added for.script - The script to add.void addExternalScript(org.apache.hivemind.Resource resource)
#addExternalScript(IComponent, Resource)}
void addExternalScript(IComponent target,
org.apache.hivemind.Resource resource)
target - The component the script is being added for.resource - The external script to add.java.lang.String getUniqueString(java.lang.String baseValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||