|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.Module
org.mmbase.module.ProcessorModule
org.mmbase.module.XSLConvert
XSL conversion module Right now, only the replace() method is defined. It is called as: $MOD-XSLCONVERT-xmlPath-xslFile where xmlPath is the path relative to mmbase.config and xslFile is and xsl file located in the subdirectory xslt of mmbase.config.
| Constructor Summary | |
XSLConvert()
CALC, a support module for servscan. |
|
| 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 NOT IMPLEMENTED FOR XSLConvert |
java.lang.String |
getModuleInfo()
provide some info on the module |
void |
init()
Initializes the module. Init must be overridden to read the environment variables it needs. This method is called by Module.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead. |
void |
onload()
prepares the module when loaded. Onload must be overridden to execute methods that need to be performed when the module is loaded but before any other modules are initailized. This method is called by Module.startModules(). You should not call onload() directly. |
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
Execute the commands provided in the form values |
void |
reload()
What should this do, when is this called? (MM) |
java.lang.String |
replace(scanpage sp,
java.lang.String cmds)
Handle a $MOD command It is called as: $MOD-XSLCONVERT-xmlPath-xslFile where: - xmlPath is the path relative to mmbase.config and, - xslFile is xsl file located in the subdirectory xslt of mmbase.config. |
void |
shutdown()
Shuts down the module. |
java.lang.String |
transform(java.lang.String xmlPath,
java.lang.String xslPath)
Transform XML file using an XSL file |
void |
unload()
What should this do, when is this called? (MM) |
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getListBuilder, getNodeList, replace |
| Methods inherited from class org.mmbase.module.Module |
getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, 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 XSLConvert()
| Method Detail |
public void init()
ProcessorModuleModule.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()
ProcessorModule
reload in class ProcessorModulepublic void onload()
ProcessorModuleModule.startModules(). You should not call onload() directly.
onload in class ProcessorModulepublic void unload()
ProcessorModule
unload in class ProcessorModulepublic void shutdown()
Module
shutdown in class Module
public java.util.Vector getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
throws ParseException
getList in interface ProcessorInterfacegetList in class ProcessorModuleParseException
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
process in interface ProcessorInterfaceprocess in class ProcessorModule
public java.lang.String replace(scanpage sp,
java.lang.String cmds)
replace in interface ProcessorInterfacereplace in class ProcessorModule
public java.lang.String transform(java.lang.String xmlPath,
java.lang.String xslPath)
xmlPath - Path to XML filexslPath - Path to XSL file
public java.lang.String getModuleInfo()
Module
getModuleInfo in class Module
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||