A C D E G I J N O P S

A

AbstractJSR223ScriptMacro<P extends JSR223ScriptMacroParameters> - Class in org.xwiki.rendering.macro.script
Base Class for script evaluation macros based on JSR223.
AbstractJSR223ScriptMacro(String) - Constructor for class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
 
AbstractJSR223ScriptMacro(String, String) - Constructor for class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
 
AbstractJSR223ScriptMacro(String, String, ContentDescriptor) - Constructor for class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
 
AbstractJSR223ScriptMacro(String, String, Class<? extends JSR223ScriptMacroParameters>) - Constructor for class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
 
AbstractJSR223ScriptMacro(String, String, ContentDescriptor, Class<? extends JSR223ScriptMacroParameters>) - Constructor for class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
 
AbstractScriptCheckerListener - Class in org.xwiki.rendering.internal.macro.script
Abstract base class for listeners that need to perform some checks just before a script macro is executed.
AbstractScriptCheckerListener() - Constructor for class org.xwiki.rendering.internal.macro.script.AbstractScriptCheckerListener
 
AbstractScriptMacro<P extends ScriptMacroParameters> - Class in org.xwiki.rendering.macro.script
Base Class for script evaluation macros.
AbstractScriptMacro(String) - Constructor for class org.xwiki.rendering.macro.script.AbstractScriptMacro
 
AbstractScriptMacro(String, String) - Constructor for class org.xwiki.rendering.macro.script.AbstractScriptMacro
 
AbstractScriptMacro(String, String, ContentDescriptor) - Constructor for class org.xwiki.rendering.macro.script.AbstractScriptMacro
 
AbstractScriptMacro(String, String, Class<? extends ScriptMacroParameters>) - Constructor for class org.xwiki.rendering.macro.script.AbstractScriptMacro
 
AbstractScriptMacro(String, String, ContentDescriptor, Class<? extends ScriptMacroParameters>) - Constructor for class org.xwiki.rendering.macro.script.AbstractScriptMacro
 
AttachmentClassLoaderFactory - Interface in org.xwiki.rendering.internal.macro.script
Create a classloader that can load classes and resources from JARs specified as attachments of wiki pages.

C

check(CancelableEvent, MacroTransformationContext, ScriptMacroParameters) - Method in class org.xwiki.rendering.internal.macro.script.AbstractScriptCheckerListener
This method is called when an ScriptEvaluatingEvent is received.
check(CancelableEvent, MacroTransformationContext, ScriptMacroParameters) - Method in class org.xwiki.rendering.internal.macro.script.NestedScriptMacroValidatorListener
This method is called when an ScriptEvaluatingEvent is received.
check(CancelableEvent, MacroTransformationContext, ScriptMacroParameters) - Method in class org.xwiki.rendering.internal.macro.script.PermissionCheckerListener
This method is called when an ScriptEvaluatingEvent is received.
CONTENT_DESCRIPTION - Static variable in class org.xwiki.rendering.macro.script.AbstractScriptMacro
The default description of the script macro content.
createAttachmentClassLoader(String, ClassLoader) - Method in interface org.xwiki.rendering.internal.macro.script.AttachmentClassLoaderFactory
 
createAttachmentClassLoader(String, ClassLoader) - Method in class org.xwiki.rendering.internal.macro.script.DefaultAttachmentClassLoaderFactory

D

DefaultAttachmentClassLoaderFactory - Class in org.xwiki.rendering.internal.macro.script
Supports the following syntax for JARs attached to wiki pages: attach:(wiki):(space).(page)@(attachment).
DefaultAttachmentClassLoaderFactory() - Constructor for class org.xwiki.rendering.internal.macro.script.DefaultAttachmentClassLoaderFactory
 
DefaultScriptMacro - Class in org.xwiki.rendering.internal.macro.script
Execute script in provided script language.
DefaultScriptMacro() - Constructor for class org.xwiki.rendering.internal.macro.script.DefaultScriptMacro
Create and initialize the descriptor of the macro.
DefaultScriptMacroParameters - Class in org.xwiki.rendering.macro.script
Parameters for the Script Macro.
DefaultScriptMacroParameters() - Constructor for class org.xwiki.rendering.macro.script.DefaultScriptMacroParameters
 
documentAccessBridge - Variable in class org.xwiki.rendering.macro.script.AbstractScriptMacro
Deprecated. since 2.5M1 (not used any more)

E

eval(String, ScriptEngine, ScriptContext) - Method in class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
Execute the script.
evaluate(P, String, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractScriptMacro
Deprecated. since 2.4M2 use AbstractScriptMacro.evaluateString(ScriptMacroParameters, String, MacroTransformationContext) instead
evaluateBlock(P, String, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
Execute provided script and return Block based result.
evaluateBlock(ScriptEngine, P, String, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
Execute provided script and return Block based result.
evaluateBlock(P, String, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractScriptMacro
Execute provided script and return Block based result.
evaluateString(P, String, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractScriptMacro
Execute provided script and return String based result.
execute(P, String, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractScriptMacro
execution - Variable in class org.xwiki.rendering.macro.script.AbstractScriptMacro
Used by subclasses.
extendAttachmentClassLoader(String, ExtendedURLClassLoader) - Method in interface org.xwiki.rendering.internal.macro.script.AttachmentClassLoaderFactory
Augment the passed classloader with the JARs definitions passed as parameter.
extendAttachmentClassLoader(String, ExtendedURLClassLoader) - Method in class org.xwiki.rendering.internal.macro.script.DefaultAttachmentClassLoaderFactory
Augment the passed classloader with the JARs definitions passed as parameter.

G

getCompiledScript(String, Compilable) - Method in class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
Return a compiled version of the provided script.
getComponentManager() - Method in class org.xwiki.rendering.macro.script.AbstractScriptMacro
 
getEvents() - Method in class org.xwiki.rendering.internal.macro.script.AbstractScriptCheckerListener
This implementation returns a singleton list with a ScriptEvaluatingEvent.
getEvents() - Method in class org.xwiki.rendering.internal.macro.script.ScriptClassLoaderHandlerListener
getJars() - Method in class org.xwiki.rendering.macro.script.ScriptMacroParameters
 
getLanguage() - Method in class org.xwiki.rendering.macro.script.DefaultScriptMacroParameters
 
getName() - Method in class org.xwiki.rendering.internal.macro.script.NestedScriptMacroValidatorListener
getName() - Method in class org.xwiki.rendering.internal.macro.script.PermissionCheckerListener
getName() - Method in class org.xwiki.rendering.internal.macro.script.ScriptClassLoaderHandlerListener
getScriptContext() - Method in class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
Get the current ScriptContext and refresh it.
getScriptEngineName(DefaultScriptMacroParameters, MacroTransformationContext) - Method in class org.xwiki.rendering.internal.macro.script.DefaultScriptMacro
Method to overwrite to indicate the script engine name.
getScriptEngineName(P, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro
Method to overwrite to indicate the script engine name.

I

isOutput() - Method in class org.xwiki.rendering.macro.script.ScriptMacroParameters
 
isWiki() - Method in class org.xwiki.rendering.macro.script.ScriptMacroParameters
 

J

JSR223ScriptMacroParameters - Class in org.xwiki.rendering.macro.script
Parameters for the AbstractJSR223ScriptMacro Macro.
JSR223ScriptMacroParameters() - Constructor for class org.xwiki.rendering.macro.script.JSR223ScriptMacroParameters
 

N

NestedScriptMacroEnabled - Interface in org.xwiki.rendering.internal.macro.script
Give the right to a macro to produce script macros whatever the parent.
NestedScriptMacroValidatorListener - Class in org.xwiki.rendering.internal.macro.script
Listens to ScriptEvaluatingEvent and cancels the evaluation if the script is nested.
NestedScriptMacroValidatorListener() - Constructor for class org.xwiki.rendering.internal.macro.script.NestedScriptMacroValidatorListener
 

O

onEvent(Event, Object, Object) - Method in class org.xwiki.rendering.internal.macro.script.AbstractScriptCheckerListener
This implementation casts the arguments to the correct type and calls AbstractScriptCheckerListener.check(CancelableEvent, MacroTransformationContext, ScriptMacroParameters).
onEvent(Event, Object, Object) - Method in class org.xwiki.rendering.internal.macro.script.ScriptClassLoaderHandlerListener
org.xwiki.rendering.internal.macro.script - package org.xwiki.rendering.internal.macro.script
 
org.xwiki.rendering.macro.script - package org.xwiki.rendering.macro.script
 

P

parseScriptResult(String, P, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractScriptMacro
Convert script result as a Block list.
parseSourceSyntax(String, MacroTransformationContext) - Method in class org.xwiki.rendering.macro.script.AbstractScriptMacro
Parse provided content with the parser of the current wiki syntax.
PermissionCheckerListener - Class in org.xwiki.rendering.internal.macro.script
Listens to ScriptEvaluatingEvent and aborts execution if the user is not permitted to execute the script.
PermissionCheckerListener() - Constructor for class org.xwiki.rendering.internal.macro.script.PermissionCheckerListener
 
PrivilegedScriptMacro - Interface in org.xwiki.rendering.macro.script
An interface used to distinguish privileged macros (those that need programming rights to run) from the normal ones.

S

ScriptClassLoaderHandlerListener - Class in org.xwiki.rendering.internal.macro.script
Listens to script evaluation events (ScriptEvaluatingEvent and ScriptEvaluatedEvent).
ScriptClassLoaderHandlerListener() - Constructor for class org.xwiki.rendering.internal.macro.script.ScriptClassLoaderHandlerListener
 
ScriptMacro - Interface in org.xwiki.rendering.macro.script
An interface used to distinguish script macros from the rest.
ScriptMacroParameters - Class in org.xwiki.rendering.macro.script
Parameters for the AbstractScriptMacro Macro.
ScriptMacroParameters() - Constructor for class org.xwiki.rendering.macro.script.ScriptMacroParameters
 
setJars(String) - Method in class org.xwiki.rendering.macro.script.ScriptMacroParameters
 
setLanguage(String) - Method in class org.xwiki.rendering.macro.script.DefaultScriptMacroParameters
 
setOutput(boolean) - Method in class org.xwiki.rendering.macro.script.ScriptMacroParameters
 
setWiki(boolean) - Method in class org.xwiki.rendering.macro.script.ScriptMacroParameters
 
supportsInlineMode() - Method in class org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro

A C D E G I J N O P S

Copyright © 2004-2011 XWiki. All Rights Reserved.