org.apache.commons.pipeline.config
Class PipelineRuleSet

java.lang.Object
  extended by org.apache.commons.digester.RuleSetBase
      extended by org.apache.commons.pipeline.config.PipelineRuleSet
All Implemented Interfaces:
org.apache.commons.digester.RuleSet

public class PipelineRuleSet
extends org.apache.commons.digester.RuleSetBase

This is a Digester RuleSet that provides rules for parsing a pipeline XML file. The rules defined by this object are used for parsing the following tags:


Field Summary
 
Fields inherited from class org.apache.commons.digester.RuleSetBase
namespaceURI
 
Constructor Summary
PipelineRuleSet()
          Creates a new instance of the rule set used by Digester to configure a pipeline.
PipelineRuleSet(List<org.apache.commons.digester.RuleSet> nestedRuleSets)
          Creates a new pipeline rule set with the specified collection of additional rule sets that may be used for recursive creation of branch pipelines.
 
Method Summary
 void addRuleInstances(org.apache.commons.digester.Digester digester)
          Adds the rule instances for pipeline, stage, and enqueue tasks to the Digester instance supplied.
 
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

PipelineRuleSet

public PipelineRuleSet()
Creates a new instance of the rule set used by Digester to configure a pipeline.


PipelineRuleSet

public PipelineRuleSet(List<org.apache.commons.digester.RuleSet> nestedRuleSets)
Creates a new pipeline rule set with the specified collection of additional rule sets that may be used for recursive creation of branch pipelines.

Parameters:
nestedRuleSets - A list of other RuleSet instances that are being used in conjunction with the PipelineRuleSet. In the case that branch pipelines are referred to by URI, these rule sets will be added to a new Digester instance (along with a PipelineRuleSet instance) that is used to parse the branch configuration file.
Method Detail

addRuleInstances

public void addRuleInstances(org.apache.commons.digester.Digester digester)
Adds the rule instances for pipeline, stage, and enqueue tasks to the Digester instance supplied.

Specified by:
addRuleInstances in interface org.apache.commons.digester.RuleSet
Specified by:
addRuleInstances in class org.apache.commons.digester.RuleSetBase
Parameters:
digester - The Digester instance to which the rules should be added.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.