|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.macro.AbstractMacro<P>
org.xwiki.rendering.macro.script.AbstractScriptMacro<P>
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro<DefaultScriptMacroParameters>
org.xwiki.rendering.internal.macro.script.DefaultScriptMacro
@Component @Named(value="script") @Singleton public class DefaultScriptMacro
Execute script in provided script language.
| Field Summary |
|---|
| Fields inherited from class org.xwiki.rendering.macro.script.AbstractScriptMacro |
|---|
documentAccessBridge, execution |
| Fields inherited from class org.xwiki.rendering.macro.AbstractMacro |
|---|
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION |
| Constructor Summary | |
|---|---|
DefaultScriptMacro()
Create and initialize the descriptor of the macro. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getScriptEngineName(DefaultScriptMacroParameters parameters,
org.xwiki.rendering.transformation.MacroTransformationContext context)
Method to overwrite to indicate the script engine name. |
| Methods inherited from class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro |
|---|
eval, evaluateBlock, evaluateBlock, getCompiledScript, getScriptContext, supportsInlineMode |
| Methods inherited from class org.xwiki.rendering.macro.script.AbstractScriptMacro |
|---|
evaluate, evaluateString, execute, getComponentManager, parseScriptResult, parseSourceSyntax |
| Methods inherited from class org.xwiki.rendering.macro.AbstractMacro |
|---|
compareTo, getDescriptor, getPriority, initialize, setDefaultCategory, setDescriptor, setPriority |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultScriptMacro()
| Method Detail |
|---|
protected java.lang.String getScriptEngineName(DefaultScriptMacroParameters parameters,
org.xwiki.rendering.transformation.MacroTransformationContext context)
getScriptEngineName in class AbstractJSR223ScriptMacro<DefaultScriptMacroParameters>parameters - the macro parameters.context - the context of the macro transformation.
AbstractJSR223ScriptMacro.getScriptEngineName(org.xwiki.rendering.macro.script.JSR223ScriptMacroParameters,
org.xwiki.rendering.transformation.MacroTransformationContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||