Class BambooXmlConfiguration
- java.lang.Object
-
- org.apache.commons.configuration.event.EventSource
-
- org.apache.commons.configuration.AbstractConfiguration
-
- org.apache.commons.configuration.HierarchicalConfiguration
-
- org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
-
- org.apache.commons.configuration.XMLConfiguration
-
- com.atlassian.bamboo.commonsconfig.BambooXmlConfiguration
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.apache.commons.configuration.Configuration
,org.apache.commons.configuration.event.ConfigurationListener
,org.apache.commons.configuration.FileConfiguration
- Direct Known Subclasses:
CustomizedXMLConfiguration
public class BambooXmlConfiguration extends org.apache.commons.configuration.XMLConfiguration
A configuration that does not interpolate values.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
-
Nested classes/interfaces inherited from class org.apache.commons.configuration.HierarchicalConfiguration
org.apache.commons.configuration.HierarchicalConfiguration.BuilderVisitor, org.apache.commons.configuration.HierarchicalConfiguration.Node, org.apache.commons.configuration.HierarchicalConfiguration.NodeVisitor
-
-
Constructor Summary
Constructors Constructor Description BambooXmlConfiguration()
BambooXmlConfiguration(File file)
BambooXmlConfiguration(String fileName)
BambooXmlConfiguration(URL url)
BambooXmlConfiguration(org.apache.commons.configuration.HierarchicalConfiguration c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.commons.configuration.interpol.ConfigurationInterpolator
createInterpolator()
protected Transformer
createTransformer()
org.apache.commons.configuration.interpol.ConfigurationInterpolator
getInterpolator()
org.apache.commons.lang.text.StrSubstitutor
getSubstitutor()
protected Object
interpolate(Object value)
protected String
interpolate(String base)
protected String
interpolateHelper(String base, List priorVariables)
-
Methods inherited from class org.apache.commons.configuration.XMLConfiguration
clear, clone, createDelegate, createDocument, createDocumentBuilder, createNode, getDocument, getDocumentBuilder, getPublicID, getRootElementName, getSystemID, initProperties, isValidating, load, load, save, setDocumentBuilder, setPublicID, setRootElementName, setSystemID, setValidating
-
Methods inherited from class org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
addPropertyDirect, clearProperty, clearTree, configurationChanged, containsKey, fetchNodeList, getBasePath, getDelegate, getEncoding, getFile, getFileName, getKeys, getProperty, getReloadingStrategy, getURL, isAutoSave, isEmpty, load, load, load, load, load, reload, save, save, save, save, save, save, setAutoSave, setBasePath, setDelegate, setEncoding, setFile, setFileName, setProperty, setReloadingStrategy, setURL
-
Methods inherited from class org.apache.commons.configuration.HierarchicalConfiguration
addNodes, clearNode, clearNode, clearReferences, configurationAt, configurationsAt, createAddPath, createSubnodeConfiguration, fetchAddNode, findLastPathNode, findPropertyNodes, getDefaultExpressionEngine, getExpressionEngine, getKeys, getMaxIndex, getRoot, getRootNode, nodeDefined, nodeDefined, removeNode, removeNode, setDefaultExpressionEngine, setExpressionEngine, setRoot, setRootNode, subset
-
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration
addErrorLogListener, addProperty, clearPropertyDirect, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setThrowExceptionOnMissing
-
Methods inherited from class org.apache.commons.configuration.event.EventSource
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.commons.configuration.Configuration
addProperty, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getList, getList, getLong, getLong, getLong, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, subset
-
-
-
-
Constructor Detail
-
BambooXmlConfiguration
public BambooXmlConfiguration()
-
BambooXmlConfiguration
public BambooXmlConfiguration(org.apache.commons.configuration.HierarchicalConfiguration c)
-
BambooXmlConfiguration
public BambooXmlConfiguration(String fileName) throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
-
BambooXmlConfiguration
public BambooXmlConfiguration(File file) throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
-
BambooXmlConfiguration
public BambooXmlConfiguration(URL url) throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
-
-
Method Detail
-
interpolate
protected String interpolate(String base)
- Overrides:
interpolate
in classorg.apache.commons.configuration.AbstractConfiguration
-
interpolate
protected Object interpolate(Object value)
- Overrides:
interpolate
in classorg.apache.commons.configuration.AbstractConfiguration
-
getInterpolator
public org.apache.commons.configuration.interpol.ConfigurationInterpolator getInterpolator()
- Overrides:
getInterpolator
in classorg.apache.commons.configuration.AbstractConfiguration
-
interpolateHelper
protected String interpolateHelper(String base, List priorVariables)
- Overrides:
interpolateHelper
in classorg.apache.commons.configuration.AbstractConfiguration
-
getSubstitutor
public org.apache.commons.lang.text.StrSubstitutor getSubstitutor()
- Overrides:
getSubstitutor
in classorg.apache.commons.configuration.AbstractConfiguration
-
createInterpolator
protected org.apache.commons.configuration.interpol.ConfigurationInterpolator createInterpolator()
- Overrides:
createInterpolator
in classorg.apache.commons.configuration.AbstractConfiguration
-
createTransformer
protected Transformer createTransformer() throws TransformerException
- Overrides:
createTransformer
in classorg.apache.commons.configuration.XMLConfiguration
- Throws:
TransformerException
-
-