public abstract class ProcessorModule extends Module
| Modifier and Type | Class and Description |
|---|---|
protected class |
ProcessorModule.GetNodeListFunction
Function implementation around
getNodeList(Object, String, Map). |
protected class |
ProcessorModule.ProcessFunction
Function implementation around
process(PageInfo, Hashtable, Hashtable). |
protected class |
ProcessorModule.ReplaceFunction
Function implementation around
replace(PageInfo, String). |
| Modifier and Type | Field and Description |
|---|---|
protected static Parameter.Wrapper |
PARAM_PAGEINFO |
protected static Parameter[] |
PARAMS_PAGEINFO |
configurationPath, getMaintainerFunction, getVersionFunction, properties, STATE_START_TIMEdescription, guiName, namefunctions, getFunctions| Constructor and Description |
|---|
ProcessorModule() |
ProcessorModule(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getList(PageInfo sp,
StringTagger params,
String command) |
MMObjectBuilder |
getListBuilder(String command,
Map<String,?> params) |
List<MMObjectNode> |
getNodeList(Object context,
String command,
Map<String,?> params)
This method is a wrapper around
getList(PageInfo, StringTagger, String) |
void |
init()
Initializes the module.
|
void |
onload()
prepares the module when loaded.
|
boolean |
process(PageInfo sp,
Hashtable<String,Object> cmds,
Hashtable<String,Object> vars) |
void |
reload()
Deprecated.
called by nothing
|
String |
replace(PageInfo sp,
String command) |
String |
replace(PageInfo sp,
StringTagger command) |
void |
unload()
Deprecated.
called by nothing
|
addInitParameters, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModuleReader, getModules, getState, getStates, getVersion, hasModule, hasStarted, loadInitParameters, loadInitParameters, maintainance, setInitParameter, setMaintainer, setState, setVersion, shutdown, shutdownModules, startModule, startModulesgetDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setNameaddFunction, createParameters, getFunction, getFunctions, getFunctionValue, newFunctionInstanceprotected static final Parameter[] PARAMS_PAGEINFO
protected static final Parameter.Wrapper PARAM_PAGEINFO
public ProcessorModule()
public ProcessorModule(String name)
public MMObjectBuilder getListBuilder(String command, Map<String,?> params)
public List<MMObjectNode> getNodeList(Object context, String command, Map<String,?> params)
getList(PageInfo, StringTagger, String)context - The PageInfo object. It beats me why it is Object and not PageInfo. I think it's silly.command - The command to executeparams - Parameters, they will be added to the StringTagger.public List<String> getList(PageInfo sp, StringTagger params, String command)
public boolean process(PageInfo sp, Hashtable<String,Object> cmds, Hashtable<String,Object> vars)
public String replace(PageInfo sp, StringTagger command)
public void reload()
public void unload()
public void init()
Module.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.public void onload()
Module.startModules(). You should not call onload() directly.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}