|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsXmlConfiguration
Each configurable element in OpenCms must implement this interface.
Field Summary | |
---|---|
static String |
A_ALIAS
The "alias" attribute. |
static String |
A_CLASS
The "class" attribute. |
static String |
A_COUNT
The "count" attribute. |
static String |
A_DEFAULT
The "default" attribute. |
static String |
A_DESTINATION
The "destination" attribute. |
static String |
A_ENABLED
The "enabled" attibute. |
static String |
A_FROM
The "from" attribute. |
static String |
A_HANDLER
The "handler" attribute. |
static String |
A_ICON
The "icon" attribute. |
static String |
A_ID
The "id" attribute. |
static String |
A_KEY
The "key" attribute. |
static String |
A_NAME
The "name" attribute. |
static String |
A_ORDER
The "order" attribute. |
static String |
A_PASSWORD
The "password" attribute. |
static String |
A_PORT
The "protocol" attribute. |
static String |
A_PROTOCOL
The "protocol" attribute. |
static String |
A_SUFFIX
The suffix attribute. |
static String |
A_TO
The "to" attribute. |
static String |
A_TYPE
The "type" attribute. |
static String |
A_URI
The "uri" attribute. |
static String |
A_USER
The "user" attribute. |
static String |
A_VALUE
The "value" attribute. |
static String |
N_EXPORTPOINT
Individual export point node. |
static String |
N_EXPORTPOINTS
Export points master node. |
static String |
N_NAME
An individual name node. |
static String |
N_PARAM
The "param" node name for generic parameters. |
static String |
N_PROPERTY
An individual property node. |
static String |
N_RESOURCE
An individual resource node. |
static String |
N_SITE
An individual site node. |
static String |
N_VALUE
An individual value node. |
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler |
---|
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD |
Method Summary | |
---|---|
void |
addXmlDigesterRules(org.apache.commons.digester.Digester digester)
Digests an XML node and creates an instance of this configurable class. |
Element |
generateXml(Element parent)
Generates the XML element for this configurable class. |
String |
getDtdFilename()
Returns the name of the DTD file for this XML configuration, e.g. |
String |
getDtdSystemLocation()
Returns the internal system location of the DTD file for this XML configuration, e.g. |
String |
getDtdUrlPrefix()
Returns the external system id prefix of the DTD file for this XML configuration, e.g. |
String |
getXmlFileName()
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 Detail |
---|
static final String A_ALIAS
static final String A_CLASS
static final String A_COUNT
static final String A_DEFAULT
static final String A_DESTINATION
static final String A_ENABLED
static final String A_FROM
static final String A_HANDLER
static final String A_ICON
static final String A_ID
static final String A_KEY
static final String A_NAME
static final String A_ORDER
static final String A_PASSWORD
static final String A_PROTOCOL
static final String A_PORT
static final String A_SUFFIX
static final String A_TO
static final String A_TYPE
static final String A_URI
static final String A_USER
static final String A_VALUE
static final String N_EXPORTPOINT
static final String N_EXPORTPOINTS
static final String N_NAME
static final String N_PARAM
static final String N_PROPERTY
static final String N_RESOURCE
static final String N_SITE
static final String N_VALUE
Method Detail |
---|
void addXmlDigesterRules(org.apache.commons.digester.Digester digester)
digester
- the digester to useElement generateXml(Element parent)
parent
- the parent element in the XML tree
String getDtdFilename()
opencms-configuration.dtd
.
getDtdSystemLocation()
,
getDtdUrlPrefix()
String getDtdSystemLocation()
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()
getDtdUrlPrefix()
,
getDtdFilename()
String getDtdUrlPrefix()
http://www.opencms.org/dtd/6.0/
.
The full system id for the DTD is calculated like this:
.getDtdSystemLocation()
+ getDtdUrlPrefix()
getDtdSystemLocation()
,
getDtdFilename()
String getXmlFileName()
opencms.xml
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |