org.mmbase.module
Class CALC
java.lang.Object
|
+--org.mmbase.module.Module
|
+--org.mmbase.module.ProcessorModule
|
+--org.mmbase.module.CALC
- All Implemented Interfaces:
- ProcessorInterface
- public class CALC
- extends ProcessorModule
- Version:
- $Id: CALC.java,v 1.8 2002/01/23 15:05:42 pierre Exp $
- Author:
- Daniel Ockeloen
|
Constructor Summary |
CALC()
|
|
Method Summary |
java.util.Vector |
getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
Generate a list of values from a command to the processor |
java.lang.String |
getModuleInfo()
provide some info on the module |
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
Execute the commands provided in the form values |
java.lang.String |
replace(scanpage sp,
java.lang.String cmds)
Handle a $MOD command |
| Methods inherited from class org.mmbase.module.Module |
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setClassName, setInitParameter, setMaintainer, setName, setVersion, shutdownModules, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CALC
public CALC()
getList
public java.util.Vector getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
throws ParseException
- Generate a list of values from a command to the processor
- Overrides:
getList in class ProcessorModule
- Following copied from class:
org.mmbase.module.ProcessorModule
- Parameters:
sp - the page contextparams - contains the attributes for the listcommand - the list command to execute.
process
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
- Execute the commands provided in the form values
- Overrides:
process in class ProcessorModule
replace
public java.lang.String replace(scanpage sp,
java.lang.String cmds)
- Handle a $MOD command
- Overrides:
replace in class ProcessorModule
getModuleInfo
public java.lang.String getModuleInfo()
- Description copied from class:
Module
- provide some info on the module
- Overrides:
getModuleInfo in class Module
MMBase build 1.6.5.20030923