|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.builder.XMLProfileCreator
Constructor Summary | |
XMLProfileCreator()
|
Method Summary | |
protected int |
getActivationDirective(Configuration config)
Get the activation policy from a configuration. |
protected int |
getActivationDirective(Configuration config,
int fallback)
Get the activation policy from a configuration. |
CategoriesDirective |
getCategoriesDirective(Configuration config)
Creation of a single categories directive instance from a supplied configuration fragment. |
CategoryDirective |
getCategoryDirective(Configuration config)
|
protected String |
getName(String base,
Configuration config,
String defaultName)
Get the profile name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLProfileCreator()
Method Detail |
protected String getName(String base, Configuration config, String defaultName)
config
- a configuration fragment describing the profile.protected int getActivationDirective(Configuration config)
config
- a configuration fragment holding a activation attribute
protected int getActivationDirective(Configuration config, int fallback)
config
- a configuration fragment holding a activation attributefallback
- the default policy
public CategoriesDirective getCategoriesDirective(Configuration config) throws ConfigurationException
config
- the configuration fragment
ConfigurationException
public CategoryDirective getCategoryDirective(Configuration config) throws ConfigurationException
ConfigurationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |