public class XSLConvert extends ProcessorModule
ProcessorModule.GetNodeListFunction, ProcessorModule.ProcessFunction, ProcessorModule.ReplaceFunctionPARAM_PAGEINFO, PARAMS_PAGEINFOconfigurationPath, getMaintainerFunction, getVersionFunction, properties, STATE_START_TIMEdescription, guiName, namefunctions, getFunctions| Constructor and Description |
|---|
XSLConvert(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleInfo()
Provide some info on the module;
By default, this returns the module description for the default locale
|
void |
init()
Initializes the module.
|
String |
replace(PageInfo sp,
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.
|
String |
transform(String xmlPath,
String xslPath)
Transform XML file using an XSL file
|
getList, getListBuilder, getNodeList, onload, process, reload, replace, unloadaddInitParameters, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, 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, newFunctionInstancepublic XSLConvert(String name)
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 String replace(PageInfo sp, String cmds)
replace in class ProcessorModulepublic String transform(String xmlPath, String xslPath)
xmlPath - Path to XML filexslPath - Path to XSL filepublic String getModuleInfo()
ModulegetModuleInfo in class ModuleMMBase 1.9-SNAPSHOT - ${javadoctimestamp}