|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.digester.RuleSetBase org.apache.commons.workflow.base.BaseRuleSet
public class BaseRuleSet
RuleSet for the basic Activity definitions of the Workflow Management System, typically associated with the base prefix. This library is normally associated with the namespace URI:
http://commons.apache.org/workflow/base
This class also serves as a convenience base class for the
RuleSet
implementations for Step libraries. Subclasses
MUST override the no-arguments constructor to set the correct
namespace URI, and MUST override (and replace) the
addRuleInstances()
method to add the relevant rules
for that particular library.
Field Summary |
---|
Fields inherited from class org.apache.commons.digester.RuleSetBase |
---|
namespaceURI |
Constructor Summary | |
---|---|
BaseRuleSet()
Construct a default instance of the RuleSet . |
Method Summary | |
---|---|
void |
addRuleInstances(org.apache.commons.digester.Digester digester)
Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with
our namespace URI (if any). |
protected void |
addStandardDescriptor(org.apache.commons.digester.Digester digester,
String element)
Add the standard set of rules for a new Descriptor that should be recognized. |
protected void |
addStandardStep(org.apache.commons.digester.Digester digester,
String element,
String name)
Add the standard set of rules for a new Step that should be recognized. |
void |
setNamespaceURI(String namespaceURI)
Set the namespace URI that these rules apply to. |
Methods inherited from class org.apache.commons.digester.RuleSetBase |
---|
getNamespaceURI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseRuleSet()
RuleSet
.
Method Detail |
---|
public void setNamespaceURI(String namespaceURI)
namespaceURI
- The new namespace URIpublic void addRuleInstances(org.apache.commons.digester.Digester digester)
Add the set of Rule instances defined in this RuleSet to the
specified Digester
instance, associating them with
our namespace URI (if any). This method should only be called
by a Digester instance.
addRuleInstances
in interface org.apache.commons.digester.RuleSet
addRuleInstances
in class org.apache.commons.digester.RuleSetBase
digester
- Digester instance to which the new Rule instances
should be added.protected void addStandardDescriptor(org.apache.commons.digester.Digester digester, String element)
digester
- Digester to which we are adding new ruleselement
- Element name to be matchedprotected void addStandardStep(org.apache.commons.digester.Digester digester, String element, String name)
digester
- Digester to which we are adding new ruleselement
- Element name to be matchedname
- Fully qualified class name of the implementation class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |