com.atlassian.config
Class AbstractConfigElement
java.lang.Object
com.atlassian.config.AbstractConfigElement
- All Implemented Interfaces:
- ConfigElement
- Direct Known Subclasses:
- Dom4jXmlStringConfigElement
public abstract class AbstractConfigElement
- extends Object
- implements ConfigElement
Created by IntelliJ IDEA.
User: ROSS
Date: 16/03/2004
Time: 13:07:59
To change this template use File | Settings | File Templates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConfigElement
public AbstractConfigElement(String name,
Object context,
AbstractConfigurationPersister config)
save
public final void save(Object object)
throws ConfigurationException
- Specified by:
save in interface ConfigElement
- Throws:
ConfigurationException
load
public final Object load()
throws ConfigurationException
- Specified by:
load in interface ConfigElement
- Throws:
ConfigurationException
checkSaveObject
protected void checkSaveObject(Object object)
throws ConfigurationException
- Throws:
ConfigurationException
getConfiguration
public AbstractConfigurationPersister getConfiguration()
getPropertyName
public String getPropertyName()
- Specified by:
getPropertyName in interface ConfigElement
setPropertyName
public void setPropertyName(String name)
- Specified by:
setPropertyName in interface ConfigElement
loadConfig
protected abstract Object loadConfig()
throws ConfigurationException
- Throws:
ConfigurationException
saveConfig
protected abstract void saveConfig(Object object)
throws ConfigurationException
- Throws:
ConfigurationException