cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1195904 - /cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineCreateRule.java
Date Tue, 01 Nov 2011 09:58:23 GMT
Author: simonetripodi
Date: Tue Nov  1 09:58:22 2011
New Revision: 1195904

URL: http://svn.apache.org/viewvc?rev=1195904&view=rev
Log:
added the related rule provided - not really needed in this scenario, but don't know yet how
the application will evolve

Modified:
    cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineCreateRule.java

Modified: cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineCreateRule.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineCreateRule.java?rev=1195904&r1=1195903&r2=1195904&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineCreateRule.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineCreateRule.java
Tue Nov  1 09:58:22 2011
@@ -24,6 +24,7 @@ import org.apache.cocoon.pipeline.NonCac
 import org.apache.cocoon.pipeline.Pipeline;
 import org.apache.cocoon.sax.SAXPipelineComponent;
 import org.apache.commons.digester3.Rule;
+import org.apache.commons.digester3.binder.RuleProvider;
 import org.xml.sax.Attributes;
 
 /**
@@ -63,4 +64,15 @@ final class PipelineCreateRule
         getDigester().push( pipeline );
     }
 
+    public static class PipelineCreateRuleProvider
+        implements RuleProvider<PipelineCreateRule>
+    {
+
+        public PipelineCreateRule get()
+        {
+            return new PipelineCreateRule();
+        }
+
+    }
+
 }



Mime
View raw message