|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.digester.AbstractObjectCreationFactory
org.apache.commons.configuration.ConfigurationFactory.DigesterConfigurationFactory
org.apache.commons.configuration.ConfigurationFactory.FileConfigurationFactory
public class ConfigurationFactory.FileConfigurationFactory
A tiny inner class that allows the Configuration Factory to let the digester construct FileConfiguration objects that already have the correct base Path set.
Field Summary |
---|
Fields inherited from class org.apache.commons.digester.AbstractObjectCreationFactory |
---|
digester |
Constructor Summary | |
---|---|
ConfigurationFactory.FileConfigurationFactory(java.lang.Class clazz)
C'tor |
Method Summary | |
---|---|
protected FileConfiguration |
createConfiguration(org.xml.sax.Attributes attributes)
Creates the object, a FileConfiguration . |
java.lang.Object |
createObject(org.xml.sax.Attributes attributes)
Gets called by the digester. |
Methods inherited from class org.apache.commons.digester.AbstractObjectCreationFactory |
---|
getDigester, setDigester |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationFactory.FileConfigurationFactory(java.lang.Class clazz)
clazz
- The class which we should instantiate.Method Detail |
---|
public java.lang.Object createObject(org.xml.sax.Attributes attributes) throws java.lang.Exception
createObject
in interface org.apache.commons.digester.ObjectCreationFactory
createObject
in class ConfigurationFactory.DigesterConfigurationFactory
attributes
- the actual attributes
java.lang.Exception
- Couldn't instantiate the requested object.protected FileConfiguration createConfiguration(org.xml.sax.Attributes attributes) throws java.lang.Exception
FileConfiguration
.
attributes
- the actual attributes
java.lang.Exception
- if the object could not be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |