simonetripodi | 7 Dec 21:32 2010
Picon

svn commit: r1043189 - /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/

Author: simonetripodi
Date: Tue Dec  7 20:32:06 2010
New Revision: 1043189

URL: http://svn.apache.org/viewvc?rev=1043189&view=rev
Log:
first checkin of Pipeline DSL to easily setup and run pipelines

Added:
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/
   
cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/LinkedPipelineBuilder.java
  (with props)

cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/LinkedPipelineComponentBuilder.java
  (with props)

cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/LinkedPipelineConfigurationBuilder.java
  (with props)

cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/LinkedPipelineSetupBuilder.java
  (with props)

cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/LinkedPipelineStarterBuilder.java
  (with props)

cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
  (with props)

Added: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/LinkedPipelineBuilder.java
(Continue reading)

simonetripodi | 7 Dec 21:33 2010
Picon

svn commit: r1043190 - /cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/PipelineTest.java

Author: simonetripodi
Date: Tue Dec  7 20:33:16 2010
New Revision: 1043190

URL: http://svn.apache.org/viewvc?rev=1043190&view=rev
Log:
test shows how to use pipeline DSL

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/PipelineTest.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/PipelineTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/PipelineTest.java?rev=1043190&r1=1043189&r2=1043190&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/PipelineTest.java (original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/PipelineTest.java
Tue Dec  7 20:33:16 2010
 <at>  <at>  -26,6 +26,7  <at>  <at>  import junit.framework.TestCase;

 import org.apache.cocoon.pipeline.NonCachingPipeline;
 import org.apache.cocoon.pipeline.Pipeline;
+import org.apache.cocoon.pipeline.builder.PipelineBuilder;
 import org.apache.cocoon.sax.component.XMLGenerator;
 import org.apache.cocoon.sax.component.XMLSerializer;
 import org.apache.cocoon.sax.component.XSLTTransformer;
 <at>  <at>  -58,18 +59,20  <at>  <at>  public class PipelineTest extends TestCa
      *  <at> throws Exception if any error occurs.
      */
     public void testPipelineWithCompiledXSLT() throws Exception {
+        ByteArrayOutputStream baos = new ByteArrayOutputStream();
(Continue reading)

simonetripodi | 7 Dec 21:42 2010
Picon

svn commit: r1043195 - /cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/pipeline/

Author: simonetripodi
Date: Tue Dec  7 20:42:17 2010
New Revision: 1043195

URL: http://svn.apache.org/viewvc?rev=1043195&view=rev
Log:
removed empty useless package

Removed:
    cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/pipeline/


simonetripodi | 10 Dec 07:58 2010
Picon

svn commit: r1044217 - /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java

Author: simonetripodi
Date: Fri Dec 10 06:58:03 2010
New Revision: 1044217

URL: http://svn.apache.org/viewvc?rev=1044217&view=rev
Log:
started designing the builder open for extensions

Modified:
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java?rev=1044217&r1=1044216&r2=1044217&view=diff
==============================================================================
---
cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java (original)
+++
cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
Fri Dec 10 06:58:03 2010
 <at>  <at>  -34,30 +34,30  <at>  <at>  import org.apache.cocoon.pipeline.compon
  *  <at> param <PC> the { <at> link PipelineComponent} type.
  *  <at> version $Id$
  */
-public final class PipelineBuilder<PC extends PipelineComponent> implements
LinkedPipelineBuilder<PC> {
+public class PipelineBuilder<PC extends PipelineComponent> implements LinkedPipelineBuilder<PC> {

     /**
      * { <at> inheritDoc}
      */
(Continue reading)

simonetripodi | 10 Dec 08:31 2010
Picon

svn commit: r1044233 - in /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder: ./ LinkedSAXPipelineBuilder.java LinkedSAXPipelineComponentBuilder.java LinkedSAXPipelineStarterBuilder.java

Author: simonetripodi
Date: Fri Dec 10 07:31:15 2010
New Revision: 1044233

URL: http://svn.apache.org/viewvc?rev=1044233&view=rev
Log:
first checkin of SAX Pipeline DSL

Added:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/
   
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java
  (with props)

cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java
  (with props)

cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineStarterBuilder.java
  (with props)

Added: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java?rev=1044233&view=auto
==============================================================================
---
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java (added)
+++
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java
Fri Dec 10 07:31:15 2010
 <at>  <at>  -0,0 +1,33  <at>  <at> 
+/*
(Continue reading)

simonetripodi | 10 Dec 12:05 2010
Picon

svn commit: r1044286 - in /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder: LinkedSAXPipelineBuilder.java LinkedSAXPipelineComponentBuilder.java LinkedSAXPipelineStarterBuilder.java

Author: simonetripodi
Date: Fri Dec 10 11:05:47 2010
New Revision: 1044286

URL: http://svn.apache.org/viewvc?rev=1044286&view=rev
Log:
no needs to have SAX Pipeline EDSL with generics, the default type IS SAXPipelineComponent

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineStarterBuilder.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java?rev=1044286&r1=1044285&r2=1044286&view=diff
==============================================================================
---
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java (original)
+++
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineBuilder.java
Fri Dec 10 11:05:47 2010
 <at>  <at>  -16,18 +16,16  <at>  <at> 
  */
 package org.apache.cocoon.sax.builder;

-import org.apache.cocoon.sax.SAXPipelineComponent;
-
 /**
  * 
  *  <at> version: $Id$
(Continue reading)

simonetripodi | 10 Dec 12:19 2010
Picon

svn commit: r1044293 - /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java

Author: simonetripodi
Date: Fri Dec 10 11:19:20 2010
New Revision: 1044293

URL: http://svn.apache.org/viewvc?rev=1044293&view=rev
Log:
LogTransformer creation throws IOE

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java?rev=1044293&r1=1044292&r2=1044293&view=diff
==============================================================================
---
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java (original)
+++
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java
Fri Dec 10 11:19:20 2010
 <at>  <at>  -17,6 +17,7  <at>  <at> 
 package org.apache.cocoon.sax.builder;

 import java.io.File;
+import java.io.IOException;
 import java.net.URL;
 import java.text.SimpleDateFormat;
 import java.util.Map;
 <at>  <at>  -39,13 +40,13  <at>  <at>  public interface LinkedSAXPipelineCompon

     LinkedSAXPipelineComponentBuilder addLogAsXMLTransformer(File logFile);
(Continue reading)

simonetripodi | 10 Dec 12:24 2010
Picon

svn commit: r1044297 - /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java

Author: simonetripodi
Date: Fri Dec 10 11:24:36 2010
New Revision: 1044297

URL: http://svn.apache.org/viewvc?rev=1044297&view=rev
Log:
added shortcut for XInclude operations that don't require the base URL

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java?rev=1044297&r1=1044296&r2=1044297&view=diff
==============================================================================
---
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java (original)
+++
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilder.java
Fri Dec 10 11:24:36 2010
 <at>  <at>  -50,6 +50,8  <at>  <at>  public interface LinkedSAXPipelineCompon

     LinkedSAXPipelineComponentBuilder addSchemaProcessorTransformer(URL source);

+    LinkedSAXPipelineComponentBuilder addXIncludeTransformer();
+
     LinkedSAXPipelineComponentBuilder addXIncludeTransformer(URL baseUrl);

     LinkedSAXPipelineComponentBuilder addXSLTTransformer(URL source);

(Continue reading)

simonetripodi | 10 Dec 12:29 2010
Picon

svn commit: r1044300 - /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java

Author: simonetripodi
Date: Fri Dec 10 11:29:43 2010
New Revision: 1044300

URL: http://svn.apache.org/viewvc?rev=1044300&view=rev
Log:
no needs to define builder impls by extension

Modified:
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java?rev=1044300&r1=1044299&r2=1044300&view=diff
==============================================================================
---
cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java (original)
+++
cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
Fri Dec 10 11:29:43 2010
 <at>  <at>  -34,30 +34,30  <at>  <at>  import org.apache.cocoon.pipeline.compon
  *  <at> param <PC> the { <at> link PipelineComponent} type.
  *  <at> version $Id$
  */
-public class PipelineBuilder<PC extends PipelineComponent> implements LinkedPipelineBuilder<PC> {
+public final class PipelineBuilder<PC extends PipelineComponent> implements
LinkedPipelineBuilder<PC> {

     /**
      * { <at> inheritDoc}
      */
(Continue reading)

simonetripodi | 10 Dec 12:34 2010
Picon

svn commit: r1044301 - in /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder: LinkedSAXPipelineComponentBuilderImpl.java LinkedSAXPipelineStarterBuilderImpl.java SAXPipelineBuilder.java

Author: simonetripodi
Date: Fri Dec 10 11:34:38 2010
New Revision: 1044301

URL: http://svn.apache.org/viewvc?rev=1044301&view=rev
Log:
first checkin of SAX Pipeline DSL

Added:

cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilderImpl.java
  (with props)

cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineStarterBuilderImpl.java
  (with props)

cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/SAXPipelineBuilder.java
  (with props)

Added: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilderImpl.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilderImpl.java?rev=1044301&view=auto
==============================================================================
---
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilderImpl.java (added)
+++
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/builder/LinkedSAXPipelineComponentBuilderImpl.java
Fri Dec 10 11:34:38 2010
 <at>  <at>  -0,0 +1,209  <at>  <at> 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
(Continue reading)


Gmane