|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.configuration.A_CmsXmlConfiguration
org.opencms.configuration.CmsTestConfiguration
public class CmsTestConfiguration
Dummy class for configuration testing.
Field Summary |
---|
Fields inherited from interface org.opencms.configuration.I_CmsXmlConfiguration |
---|
A_ALIAS, A_CLASS, A_COUNT, A_DEFAULT, A_DESTINATION, A_ENABLED, A_FROM, A_HANDLER, A_ICON, A_ID, A_KEY, 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 |
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler |
---|
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD |
Constructor Summary | |
---|---|
CmsTestConfiguration()
The public contructor is hidden to prevent generation of instances of this class. |
Method Summary | |
---|---|
void |
addTest(String name,
String value)
Test method to add a value. |
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. |
protected void |
initMembers()
Initializes member variables. |
Methods inherited from class org.opencms.configuration.A_CmsXmlConfiguration |
---|
addConfigurationParameter, getConfiguration, getDtdSystemLocation, getDtdUrlPrefix, getXmlFileName, initConfiguration, setXmlFileName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsTestConfiguration()
Method Detail |
---|
public void addTest(String name, String value)
name
- the name of the testvalue
- the value of the testpublic void addXmlDigesterRules(org.apache.commons.digester.Digester digester)
I_CmsXmlConfiguration
digester
- the digester to useI_CmsXmlConfiguration.addXmlDigesterRules(org.apache.commons.digester.Digester)
public Element generateXml(Element parent)
I_CmsXmlConfiguration
parent
- the parent element in the XML tree
I_CmsXmlConfiguration.generateXml(org.dom4j.Element)
public String getDtdFilename()
I_CmsXmlConfiguration
opencms-configuration.dtd
.
I_CmsXmlConfiguration.getDtdFilename()
protected void initMembers()
A_CmsXmlConfiguration
initMembers
in class A_CmsXmlConfiguration
A_CmsXmlConfiguration.initMembers()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |