public class ConfigurationImpl extends Object implements Configuration
| Constructor and Description |
|---|
ConfigurationImpl() |
ConfigurationImpl(org.codehaus.plexus.util.xml.Xpp3Dom configXml) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
addConfigurationElement(ConfigurationElement element)
Add a
ConfigurationElement to this Configuration. |
ConfigurationElement |
getConfigurationElement(String configElement)
Get the specified
ConfigurationElement, if it exists; otherwise, return null. |
boolean |
hasConfigurationElement(String configElement)
Return true if this
Configuration contains the given element; otherwise, return false; |
boolean |
hasConfigurationElements()
Return true if this
Configuration has any elements; otherwise, return false. |
List<ConfigurationElement> |
listConfigurationElements()
List all
ConfigurationElements contained in this Configuration. |
void |
removeConfigurationElement(String elementName)
Remove the specified
ConfigurationElement. |
String |
toString() |
public ConfigurationImpl()
public ConfigurationImpl(org.codehaus.plexus.util.xml.Xpp3Dom configXml)
public ConfigurationElement getConfigurationElement(String configElement)
ConfigurationConfigurationElement, if it exists; otherwise, return null.getConfigurationElement in interface Configurationpublic boolean hasConfigurationElement(String configElement)
ConfigurationConfiguration contains the given element; otherwise, return false;hasConfigurationElement in interface Configurationpublic boolean hasConfigurationElements()
ConfigurationConfiguration has any elements; otherwise, return false.hasConfigurationElements in interface Configurationpublic List<ConfigurationElement> listConfigurationElements()
ConfigurationConfigurationElements contained in this Configuration. Returns an empty list if none
exist.listConfigurationElements in interface Configurationpublic Configuration addConfigurationElement(ConfigurationElement element)
ConfigurationConfigurationElement to this Configuration.addConfigurationElement in interface Configurationpublic void removeConfigurationElement(String elementName)
ConfigurationConfigurationElement.removeConfigurationElement in interface ConfigurationCopyright © 2015 JBoss by Red Hat. All rights reserved.