org.apache.sling.rewriter
Interface GeneratorFactory


public interface GeneratorFactory

The GeneratorFactory is a service which creates Generators on demand. The created generators are the starting point for the rewriter pipeline. The factories itself are not chained but the resulting generators are. On each pipeline call new instances are created. The factory is referenced using a service property named 'pipeline.type'. Each factory should have a unique value for this property.


Method Summary
 Generator createGenerator()
          Create a new generator for the pipeline.
 

Method Detail

createGenerator

Generator createGenerator()
Create a new generator for the pipeline.

Returns:
A new generator.


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.