com.atlassian.config.xml
Class Dom4jXmlStringConfigElement

java.lang.Object
  extended by com.atlassian.config.AbstractConfigElement
      extended by com.atlassian.config.xml.Dom4jXmlStringConfigElement
All Implemented Interfaces:
ConfigElement
Direct Known Subclasses:
Dom4jXmlListConfigElement, Dom4jXmlMapConfigElement, Dom4jXmlMapEntryConfigElement

public class Dom4jXmlStringConfigElement
extends AbstractConfigElement

Created by IntelliJ IDEA. User: ROSS Date: 16/03/2004 Time: 10:49:24 To change this template use File | Settings | File Templates.


Field Summary
protected  org.dom4j.Element context
           
protected  boolean useCData
           
 
Constructor Summary
Dom4jXmlStringConfigElement(String name, org.dom4j.Element context, AbstractDom4jXmlConfigurationPersister config)
           
 
Method Summary
 Object getContext()
           
 Class getObjectClass()
           
protected  org.dom4j.Element getOrMakeElement(String path)
           
 boolean isUseCData()
           
 Object loadConfig()
           
 void saveConfig(Object object)
           
 void setContext(Object context)
           
 
Methods inherited from class com.atlassian.config.AbstractConfigElement
checkSaveObject, getConfiguration, getPropertyName, load, save, setPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected org.dom4j.Element context

useCData

protected boolean useCData
Constructor Detail

Dom4jXmlStringConfigElement

public Dom4jXmlStringConfigElement(String name,
                                   org.dom4j.Element context,
                                   AbstractDom4jXmlConfigurationPersister config)
Method Detail

getObjectClass

public Class getObjectClass()

saveConfig

public void saveConfig(Object object)
                throws ConfigurationException
Specified by:
saveConfig in class AbstractConfigElement
Throws:
ConfigurationException

loadConfig

public Object loadConfig()
                  throws ConfigurationException
Specified by:
loadConfig in class AbstractConfigElement
Throws:
ConfigurationException

getOrMakeElement

protected org.dom4j.Element getOrMakeElement(String path)

getContext

public Object getContext()

setContext

public void setContext(Object context)

isUseCData

public boolean isUseCData()


Atlassian Config is developed by Atlassian Software Systems.