|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.pipeline.config.DigesterPipelineFactory
public class DigesterPipelineFactory
This factory is designed to simplify creating a pipeline using Digester.
for additional information on the format of the
XML configuration file.| Constructor Summary | |
|---|---|
DigesterPipelineFactory(URL confURL)
A factory created by this constructor will create a pipeline from the specified XML configuration file. |
|
| Method Summary | |
|---|---|
void |
addRuleSet(org.apache.commons.digester.RuleSet ruleSet)
Adds a RuleSet to the list of rules available to Digester for parsing the configuration file. |
Pipeline |
createPipeline()
Creates a new pipeline based upon the configuration of this factory instance. |
void |
initDigester(org.apache.commons.digester.Digester digester)
Initialize a Digester instance with the rule sets provided to this factory. |
static void |
main(String[] argv)
The simplest possible main method that creates a pipeline from a configuration file, then runs the pipeline processing from start to finish. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DigesterPipelineFactory(URL confURL)
configFile - the XML file containing pipeline configuration information| Method Detail |
|---|
public Pipeline createPipeline()
throws PipelineCreationException
createPipeline in interface PipelineFactoryPipelineCreationException - Thrown if an error is encountered parsing the configuration file.public void initDigester(org.apache.commons.digester.Digester digester)
digester - The digester instance to be initializedpublic void addRuleSet(org.apache.commons.digester.RuleSet ruleSet)
ruleSet - The rule set to be added to the Digesterpublic static void main(String[] argv)
argv - the command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||