org.beanmaker.conf
Class ConfigurationImpl
java.lang.Object
|
+--org.beanmaker.conf.AbstractConfiguration
|
+--org.beanmaker.conf.ConfigurationImpl
- All Implemented Interfaces:
- Configuration
- public class ConfigurationImpl
- extends AbstractConfiguration
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationImpl
public ConfigurationImpl(java.lang.String name)
appendValueData
public void appendValueData(java.lang.String value)
getConfigurations
public java.util.Iterator getConfigurations(java.lang.String name)
- Return an iterator for configuration subnodes for the given name
- Specified by:
getConfigurations in interface Configuration- Specified by:
getConfigurations in class AbstractConfiguration
- Parameters:
name - a of the list of child nodes to return
- Returns:
- an
Iterator for child nodes for the given name
getConfiguration
public Configuration getConfiguration(java.lang.String name)
- Return the first subnode for the given name
- Specified by:
getConfiguration in interface Configuration- Specified by:
getConfiguration in class AbstractConfiguration
- Parameters:
name - of the Configuration to return.
- Returns:
- a
Configuration value for the given name
getConfiguration
public Configuration getConfiguration(java.lang.String name,
java.lang.String defaultValue)
- Return the first subnode for the given name
- Parameters:
defaultValue - value to use for new
Configuration if not presentname - of the Configuration to return.
- Returns:
- a
Configuration value for the given name
addConfiguration
public void addConfiguration(Configuration config)
- Add a configuration subnode
Copyright © 2002 Giovanni Martone.