|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.module.Module
|
+--org.mmbase.module.ProcessorModule
|
+--org.mmbase.module.Config
| Inner Class Summary | |
class |
Config.XMLFilenameFilter
Implement a FilenameFilter for xml files |
| Constructor Summary | |
Config()
Config, a support module for servscan |
|
| Method Summary | |
protected java.lang.String |
annotateXML(java.lang.String path)
|
boolean |
builderIsActive(java.lang.String path)
|
protected java.lang.String |
checkXML(java.lang.String path)
|
protected int |
checkXMLOk(java.lang.String path)
Do validity check on XML file |
boolean |
databaseIsActive(java.lang.String path)
|
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 |
protected java.lang.String |
htmlEntities(java.lang.String s)
|
void |
init()
Initializes the module. |
java.util.Vector |
listConfigDirectories(java.lang.String path)
|
protected java.util.Vector |
listDirectory(java.lang.String path)
Retrieve all xml files in a directory |
void |
onload()
|
protected java.lang.String |
prettyPrintXML(java.lang.String path)
|
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
Execute the commands provided in the form values |
void |
reload()
|
java.lang.String |
replace(scanpage sp,
java.lang.String cmds)
Handle a $MOD command |
java.lang.String |
report(java.lang.String eol)
Temporary overall wrapper for report information |
java.lang.String |
reportBuilders(java.lang.String eol)
|
void |
shutdown()
Shuts down the module. |
void |
unload()
|
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getListBuilder, getNodeList, replace |
| 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 |
| Constructor Detail |
public Config()
| Method Detail |
public boolean builderIsActive(java.lang.String path)
public boolean databaseIsActive(java.lang.String path)
path - Relative path to database mapping filepublic void init()
ModuleModule.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.init in class ProcessorModulepublic void reload()
reload in class ProcessorModulepublic void onload()
onload in class ProcessorModulepublic void unload()
unload in class ProcessorModulepublic void shutdown()
Moduleshutdown in class ProcessorModule
public java.util.Vector getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
throws ParseException
getList in class ProcessorModuleorg.mmbase.module.ProcessorModulesp - the page contextparams - contains the attributes for the listcommand - the list command to execute.public java.util.Vector listConfigDirectories(java.lang.String path)
path - Path to root of configuration files
protected java.util.Vector listDirectory(java.lang.String path)
throws java.io.IOException
path - Directory path
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
process in class ProcessorModulepublic java.lang.String report(java.lang.String eol)
public java.lang.String reportBuilders(java.lang.String eol)
public java.lang.String replace(scanpage sp,
java.lang.String cmds)
replace in class ProcessorModulepublic java.lang.String getModuleInfo()
ModulegetModuleInfo in class Moduleprotected java.lang.String prettyPrintXML(java.lang.String path)
protected int checkXMLOk(java.lang.String path)
protected java.lang.String htmlEntities(java.lang.String s)
protected java.lang.String annotateXML(java.lang.String path)
protected java.lang.String checkXML(java.lang.String path)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||