There is a PipelineFactory class which accepts a syntax describing how to construct some simple pipelines. Pipelines can of course be constructed programmatically, providing access to options that the factory won't. Such facilities are available using the simple syntax for pipeline construction. Programming Models Pipelines should be simple to understand. XML content, typically Documents, is pushed through consumers by producers.
Pipelines are basically about event consumption, where the events are modeling XML data.
Pipelines are constructed by taking one or more consumer stages and combining them to produce a composite consumer. Pipelines may have multiple output stages. There is flexibility about event production. One kind of producer encapsulates a SAX2 parser. Events can be pushed directly to event consumer components by application modules, if they follow the XML data model.