Package org.opencms.configuration
Interface I_CmsXmlConfiguration
- All Superinterfaces:
I_CmsConfigurationParameterHandler
- All Known Subinterfaces:
I_CmsXmlConfigurationWithUpdateHandler
- All Known Implementing Classes:
A_CmsXmlConfiguration
,CmsConfigurationManager
,CmsImportExportConfiguration
,CmsModuleConfiguration
,CmsSchedulerConfiguration
,CmsSearchConfiguration
,CmsSitesConfiguration
,CmsSystemConfiguration
,CmsVariablesConfiguration
,CmsVfsConfiguration
,CmsWorkplaceConfiguration
Each configurable element in OpenCms must implement this interface.
- Since:
- 6.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The "alias" attribute.static final String
The "class" attribute.static final String
The "count" attribute.static final String
The "default" attribute.static final String
The "destination" attribute.static final String
The "enabled" attibute.static final String
The "from" attribute.static final String
The "handler" attribute.static final String
The "icon" attribute.static final String
The "id" attribute.static final String
The "key" attribute.static final String
The "mode" attribute.static final String
The "name" attribute.static final String
The "order" attribute.static final String
The "password" attribute.static final String
The "protocol" attribute.static final String
The "protocol" attribute.static final String
The suffix attribute.static final String
The "to" attribute.static final String
The "type" attribute.static final String
The "uri" attribute.static final String
The "user" attribute.static final String
The "value" attribute.static final String
Individual export point node.static final String
Export points master node.static final String
An individual name node.static final String
The "param" node name for generic parameters.static final String
An individual property node.static final String
An individual resource node.static final String
An individual site node.static final String
An individual value node.Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addXmlDigesterRules
(org.apache.commons.digester3.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.Returns the name of the DTD file for this XML configuration, e.g.Returns the internal system location of the DTD file for this XML configuration, e.g.Returns the external system id prefix of the DTD file for this XML configuration, e.g.Returns the name of the XML input file for this configuration, e.g.Methods inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
addConfigurationParameter, getConfiguration, initConfiguration
-
Field Details
-
A_ALIAS
The "alias" attribute.- See Also:
-
A_CLASS
The "class" attribute.- See Also:
-
A_COUNT
The "count" attribute.- See Also:
-
A_DEFAULT
The "default" attribute.- See Also:
-
A_DESTINATION
The "destination" attribute.- See Also:
-
A_ENABLED
The "enabled" attibute.- See Also:
-
A_FROM
The "from" attribute.- See Also:
-
A_HANDLER
The "handler" attribute.- See Also:
-
A_ICON
The "icon" attribute.- See Also:
-
A_ID
The "id" attribute.- See Also:
-
A_KEY
The "key" attribute.- See Also:
-
A_NAME
The "name" attribute.- See Also:
-
A_ORDER
The "order" attribute.- See Also:
-
A_PASSWORD
The "password" attribute.- See Also:
-
A_PROTOCOL
The "protocol" attribute.- See Also:
-
A_PORT
The "protocol" attribute.- See Also:
-
A_SUFFIX
The suffix attribute.- See Also:
-
A_TO
The "to" attribute.- See Also:
-
A_TYPE
The "type" attribute.- See Also:
-
A_MODE
The "mode" attribute.- See Also:
-
A_URI
The "uri" attribute.- See Also:
-
A_USER
The "user" attribute.- See Also:
-
A_VALUE
The "value" attribute.- See Also:
-
N_EXPORTPOINT
Individual export point node.- See Also:
-
N_EXPORTPOINTS
Export points master node.- See Also:
-
N_NAME
An individual name node.- See Also:
-
N_PARAM
The "param" node name for generic parameters.- See Also:
-
N_PROPERTY
An individual property node.- See Also:
-
N_RESOURCE
An individual resource node.- See Also:
-
N_SITE
An individual site node.- See Also:
-
N_VALUE
An individual value node.- See Also:
-
-
Method Details
-
addXmlDigesterRules
Digests an XML node and creates an instance of this configurable class.- Parameters:
digester
- the digester to use
-
generateXml
Generates the XML element for this configurable class.- Parameters:
parent
- the parent element in the XML tree- Returns:
- the XML element for this configurable class
-
getDtdFilename
Returns the name of the DTD file for this XML configuration, e.g.opencms-configuration.dtd
.- Returns:
- the name of the DTD file for this XML configuration
- See Also:
-
getDtdSystemLocation
Returns the internal system location of the DTD file for this XML configuration, e.g.org/opencms/configuration/
.If this is not
null
, then the DTD is not read through the web URL, but an internal name resolution is added that resolves the system id of the DTD to
.getDtdSystemLocation()
+getDtdUrlPrefix()
- Returns:
- the system location of the DTD file for this XML configuration
- See Also:
-
getDtdUrlPrefix
Returns the external system id prefix of the DTD file for this XML configuration, e.g.http://www.opencms.org/dtd/6.0/
.The full system id for the DTD is calculated like this:
.getDtdSystemLocation()
+getDtdUrlPrefix()
- Returns:
- the system id prefix of the DTD file for this XML configuration
- See Also:
-
getXmlFileName
Returns the name of the XML input file for this configuration, e.g.opencms.xml
.- Returns:
- the name of the XML input file for this configuration
-