org.apache.commons.configuration
Class ConfigurationFactory.FileConfigurationFactory
java.lang.Object
   org.apache.commons.digester.AbstractObjectCreationFactory
org.apache.commons.digester.AbstractObjectCreationFactory
       org.apache.commons.configuration.ConfigurationFactory.DigesterConfigurationFactory
org.apache.commons.configuration.ConfigurationFactory.DigesterConfigurationFactory
           org.apache.commons.configuration.ConfigurationFactory.FileConfigurationFactory
org.apache.commons.configuration.ConfigurationFactory.FileConfigurationFactory
- All Implemented Interfaces: 
- ObjectCreationFactory
- Direct Known Subclasses: 
- ConfigurationFactory.PropertiesConfigurationFactory, ConfigurationFactory.PropertyListConfigurationFactory
- Enclosing class:
- ConfigurationFactory
- public class ConfigurationFactory.FileConfigurationFactory- extends ConfigurationFactory.DigesterConfigurationFactory
A tiny inner class that allows the Configuration Factory to
 let the digester construct FileConfiguration objects
 that already have the correct base Path set.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ConfigurationFactory.FileConfigurationFactory
public ConfigurationFactory.FileConfigurationFactory(Class clazz)
- C'tor
 
- Parameters:
- clazz- The class which we should instantiate.
createObject
public Object createObject(Attributes attributes)
                    throws Exception
- Gets called by the digester.
 
- 
- Specified by:
- createObjectin interface- ObjectCreationFactory
- Overrides:
- createObjectin class- ConfigurationFactory.DigesterConfigurationFactory
 
- 
- Parameters:
- attributes- the actual attributes
- Returns:
- the new object
- Throws:
- Exception- Couldn't instantiate the requested object.
 
createConfiguration
protected FileConfiguration createConfiguration(Attributes attributes)
                                         throws Exception
- Creates the object, a FileConfiguration.
 
- 
- Parameters:
- attributes- the actual attributes
- Returns:
- the file configuration
- Throws:
- Exception- if the object could not be created
 
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.