public abstract class RulesFactory
extends java.lang.Object
Users of the plugins module can specify a subclass of this one to control the creation of that Rules object. In particular, it can set up default rules within the returned instance which are applicable to all plugged-in classes.
Constructor and Description |
---|
RulesFactory() |
public abstract Rules newRules(Digester d, java.lang.Class pluginClass) throws PluginException
d
- is the digester that the returned rules object will be
associated with.pluginClass
- is the class that is to be configured using rules
added to the returnedobject.PluginException
- if the algorithm finds a source
of rules, but there is something invalid about that source.Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.