public class ConfigFileInfoSetImpl extends java.lang.Object implements ConfigFileInfoSet
Constructor and Description |
---|
ConfigFileInfoSetImpl(ConfigFileMetaDataProvider metaDataProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addConfigFile(ConfigFileInfo descriptor) |
void |
addConfigFile(ConfigFileMetaData metaData,
java.lang.String url) |
ConfigFileInfo |
getConfigFileInfo(ConfigFileMetaData metaData) |
ConfigFileInfo[] |
getConfigFileInfos() |
ConfigFileMetaDataProvider |
getMetaDataProvider() |
void |
readExternal(Element element) |
void |
removeConfigFile(ConfigFileInfo descriptor) |
void |
removeConfigFiles(ConfigFileMetaData... metaData) |
void |
replaceConfigFile(ConfigFileMetaData metaData,
java.lang.String newUrl) |
void |
setConfigFileInfos(java.util.Collection<? extends ConfigFileInfo> descriptors) |
void |
setContainer(ConfigFileContainerImpl container) |
ConfigFileInfo |
updateConfigFile(ConfigFile configFile) |
void |
writeExternal(Element element) |
public ConfigFileInfoSetImpl(ConfigFileMetaDataProvider metaDataProvider)
public void addConfigFile(ConfigFileInfo descriptor)
addConfigFile
in interface ConfigFileInfoSet
public void addConfigFile(ConfigFileMetaData metaData, java.lang.String url)
addConfigFile
in interface ConfigFileInfoSet
public void removeConfigFile(ConfigFileInfo descriptor)
removeConfigFile
in interface ConfigFileInfoSet
public void replaceConfigFile(ConfigFileMetaData metaData, java.lang.String newUrl)
replaceConfigFile
in interface ConfigFileInfoSet
public ConfigFileInfo updateConfigFile(ConfigFile configFile)
public void removeConfigFiles(ConfigFileMetaData... metaData)
removeConfigFiles
in interface ConfigFileInfoSet
public ConfigFileInfo getConfigFileInfo(ConfigFileMetaData metaData)
getConfigFileInfo
in interface ConfigFileInfoSet
public ConfigFileInfo[] getConfigFileInfos()
getConfigFileInfos
in interface ConfigFileInfoSet
public void setConfigFileInfos(java.util.Collection<? extends ConfigFileInfo> descriptors)
setConfigFileInfos
in interface ConfigFileInfoSet
public ConfigFileMetaDataProvider getMetaDataProvider()
getMetaDataProvider
in interface ConfigFileInfoSet
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface JDOMExternalizable
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface JDOMExternalizable
WriteExternalException
public void setContainer(ConfigFileContainerImpl container)