Author: sseifert
Date: Mon Oct 13 08:19:31 2014
New Revision: 1631311

URL: http://svn.apache.org/r1631311
Log:
SLING-3511 Support selectors for pipeline configuration (thanks to Dirk Rudolph 
for supplying the patch)

Modified:
    
sling/site/trunk/content/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.mdtext

Modified: 
sling/site/trunk/content/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.mdtext
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.mdtext?rev=1631311&r1=1631310&r2=1631311&view=diff
==============================================================================
--- 
sling/site/trunk/content/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.mdtext
 (original)
+++ 
sling/site/trunk/content/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.mdtext
 Mon Oct 13 08:19:31 2014
@@ -16,6 +16,7 @@ Between the generator and the serializer
 Sling contains a default pipeline which is executed for all html responses: it 
starts with an html generator, parsing the html output and sending events into 
the pipeline. A html serializer collects all events and serializes the output. 
 
 The pipelines can be configured in the repository as a child node of 
*/apps/APPNAME/config/rewriter* (or */libs/APPNAME/config/rewriter*). (In fact 
the configured search paths of the resource resolver are observed.) Each node 
can have the following properties:
+
 * generatorType - the type of the generator (required)
 * transformerTypes (multi value string) - the types of the transformers 
(optional)
 * serializerType - the type of the serializer (required)
@@ -23,6 +24,7 @@ The pipelines can be configured in the r
 * contentTypes (multi value string) - the content types this pipeline should 
be used for (optional)
 * extensions (multi value string) - the extensions this pipeline should be 
used for (optional)
 * resourceTypes (multi value string) - the resource types this pipeline should 
be used for (optional)
+* selectors (multi value string) - a set of selectors the processor should be 
used for (optional, since 1.0.6)
 * order (long) - the configurations are sorted by this order, order must be 
higher or equal to 0. The configuration with the highest order is tried first.
 * enabled (boolean) - Is this configuration active? (default yes)
 
@@ -76,11 +78,12 @@ Like the pipeline components a processor
 
 ## Configuring a Processor
 The processors can be configured in the repository as a child node of 
*/apps/APPNAME/config/rewriter* (or libs or any configured search path). Each 
node can have the following properties:
+
 * processorType - the type of the processor (required) - this is the part from 
the scr factory information after the slash (in the example above this is 
*uniqueName*)
 * paths (multi value string) - the paths this processor should run on (content 
paths)
 * contentTypes (multi value string) - the content types this processor should 
be used for (optional)
 * extensions (multi value string) - the extensions this pipeline should be 
used for (optional)
 * resourceTypes (multi value string) - the resource types this pipeline should 
be used for (optional)
+* selectors (multi value string) - a set of selectors the processor should be 
used for (optional, since 1.0.6)
 * order (long) - the configurations are sorted by this order, order must be 
higher or equal to 0. The configuration with the highest order is tried first.
 * enabled (boolean) - Is this configuration active? (default yes)
-


Reply via email to