1 31 32 package org.opencms.configuration; 33 34 import org.opencms.main.CmsLog; 35 36 import java.util.Map ; 37 38 import org.apache.commons.logging.Log; 39 40 49 public abstract class A_CmsXmlConfiguration implements I_CmsXmlConfiguration { 50 51 52 private static final Log LOG = CmsLog.getLog(A_CmsXmlConfiguration.class); 53 54 55 private String m_xmlFileName; 56 57 60 public void addConfigurationParameter(String paramName, String paramValue) { 61 62 if (LOG.isDebugEnabled()) { 64 LOG.debug(Messages.get().getBundle().key(Messages.LOG_ADD_CONFIG_PARAM_3, paramName, paramValue, this)); 65 } 66 } 67 68 71 public Map getConfiguration() { 72 73 if (LOG.isDebugEnabled()) { 75 LOG.debug(Messages.get().getBundle().key(Messages.LOG_GET_CONFIGURATION_1, this)); 76 } 77 return null; 78 } 79 80 83 public String getDtdSystemLocation() { 84 85 return CmsConfigurationManager.DEFAULT_DTD_LOCATION; 86 } 87 88 91 public String getDtdUrlPrefix() { 92 93 return CmsConfigurationManager.DEFAULT_DTD_PREFIX; 94 } 95 96 99 public String getXmlFileName() { 100 101 return m_xmlFileName; 102 } 103 104 107 public void initConfiguration() { 108 109 if (LOG.isDebugEnabled()) { 111 LOG.debug(Messages.get().getBundle().key(Messages.LOG_INIT_CONFIGURATION_1, this)); 112 } 113 } 114 115 120 protected void setXmlFileName(String fileName) { 121 122 m_xmlFileName = fileName; 123 } 124 } 125 | Popular Tags |