public class CmsModuleConfiguration extends A_CmsXmlConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGURATION_DTD_NAME
The name of the DTD for this configuration.
|
static java.lang.String |
DEFAULT_XML_FILE_NAME
The name of the default XML file for this configuration.
|
static java.lang.String |
N_MODULES
The node name for the modules top node.
|
A_ALIAS, A_CLASS, A_COUNT, A_DEFAULT, A_DESTINATION, A_ENABLED, A_FROM, A_HANDLER, A_ICON, A_ID, A_KEY, A_MODE, A_NAME, A_ORDER, A_PASSWORD, A_PORT, A_PROTOCOL, A_SUFFIX, A_TO, A_TYPE, A_URI, A_USER, A_VALUE, N_EXPORTPOINT, N_EXPORTPOINTS, N_NAME, N_PARAM, N_PROPERTY, N_RESOURCE, N_SITE, N_VALUE
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
Constructor and Description |
---|
CmsModuleConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addXmlDigesterRules(org.apache.commons.digester.Digester digester)
Digests an XML node and creates an instance of this configurable class.
|
org.dom4j.Element |
generateXml(org.dom4j.Element parent)
Generates the XML element for this configurable class.
|
java.lang.String |
getDtdFilename()
Returns the name of the DTD file for this XML configuration,
e.g.
|
CmsModuleManager |
getModuleManager()
Returns the configured module manager.
|
void |
initializeFinished()
Will be called when configuration of this object is finished.
|
protected void |
initMembers()
Initializes member variables.
|
void |
setModule(CmsModuleXmlHandler moduleHandler)
Adds a new module to the list of configured modules.
|
addConfigurationParameter, getConfiguration, getDtdSystemLocation, getDtdUrlPrefix, getXmlFileName, initConfiguration, setXmlFileName
public static final java.lang.String CONFIGURATION_DTD_NAME
public static final java.lang.String DEFAULT_XML_FILE_NAME
public static final java.lang.String N_MODULES
public CmsModuleConfiguration()
public void addXmlDigesterRules(org.apache.commons.digester.Digester digester)
I_CmsXmlConfiguration
digester
- the digester to useI_CmsXmlConfiguration.addXmlDigesterRules(org.apache.commons.digester.Digester)
public org.dom4j.Element generateXml(org.dom4j.Element parent)
I_CmsXmlConfiguration
parent
- the parent element in the XML treeI_CmsXmlConfiguration.generateXml(org.dom4j.Element)
public java.lang.String getDtdFilename()
I_CmsXmlConfiguration
opencms-configuration.dtd
.I_CmsXmlConfiguration.getDtdFilename()
public CmsModuleManager getModuleManager()
public void initializeFinished()
public void setModule(CmsModuleXmlHandler moduleHandler)
moduleHandler
- contains the imported moduleprotected void initMembers()
A_CmsXmlConfiguration
initMembers
in class A_CmsXmlConfiguration
A_CmsXmlConfiguration.initMembers()