You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2004/09/27 18:07:04 UTC
svn commit: rev 47301 - in cocoon/trunk/src/java/org/apache/cocoon: components/treeprocessor generation serialization transformation xml
Author: vgritsenko
Date: Mon Sep 27 09:07:01 2004
New Revision: 47301
Modified:
cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNode.java
cocoon/trunk/src/java/org/apache/cocoon/generation/ServletGenerator.java
cocoon/trunk/src/java/org/apache/cocoon/serialization/Serializer.java
cocoon/trunk/src/java/org/apache/cocoon/transformation/Transformer.java
cocoon/trunk/src/java/org/apache/cocoon/xml/XMLProducer.java
Log:
javadoc, spaces
Modified: cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNode.java
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNode.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNode.java Mon Sep 27 09:07:01 2004
@@ -22,7 +22,7 @@
/**
*
* @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
- * @version CVS $Id: AbstractParentProcessingNode.java,v 1.7 2004/06/11 20:03:35 vgritsenko Exp $
+ * @version CVS $Id$
*/
public abstract class AbstractParentProcessingNode extends AbstractProcessingNode {
@@ -77,6 +77,7 @@
return true;
}
}
+
return false;
}
}
Modified: cocoon/trunk/src/java/org/apache/cocoon/generation/ServletGenerator.java
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/generation/ServletGenerator.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/generation/ServletGenerator.java Mon Sep 27 09:07:01 2004
@@ -1,12 +1,12 @@
/*
* Copyright 1999-2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -34,17 +34,11 @@
import java.util.Map;
/**
- * @author CZiegeler
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-/**
*
* @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
- * @version CVS $Id: ServletGenerator.java,v 1.4 2004/05/24 12:37:52 cziegeler Exp $
+ * @version CVS $Id$
*/
-public abstract class ServletGenerator extends AbstractGenerator
+public abstract class ServletGenerator extends AbstractGenerator
implements Composable, Disposable {
protected Request request;
@@ -64,7 +58,7 @@
public void dispose() {
this.manager = null;
}
-
+
/* (non-Javadoc)
* @see org.apache.cocoon.sitemap.SitemapModelComponent#setup(org.apache.cocoon.environment.SourceResolver, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters)
*/
Modified: cocoon/trunk/src/java/org/apache/cocoon/serialization/Serializer.java
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/serialization/Serializer.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/serialization/Serializer.java Mon Sep 27 09:07:01 2004
@@ -1,12 +1,12 @@
/*
* Copyright 1999-2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -19,10 +19,12 @@
import org.apache.cocoon.xml.XMLConsumer;
/**
+ * A serializer is the last point of a pipeline. It "serializes" XML
+ * arriving as SAX events into any binary format.
*
* @author <a href="mailto:pier@apache.org">Pierpaolo Fumagalli</a>
* (Apache Software Foundation)
- * @version CVS $Id: Serializer.java,v 1.2 2004/03/05 13:02:58 bdelacretaz Exp $
+ * @version CVS $Id$
*/
public interface Serializer extends XMLConsumer, SitemapOutputComponent {
Modified: cocoon/trunk/src/java/org/apache/cocoon/transformation/Transformer.java
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/transformation/Transformer.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/transformation/Transformer.java Mon Sep 27 09:07:01 2004
@@ -1,12 +1,12 @@
/*
* Copyright 1999-2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -19,10 +19,13 @@
import org.apache.cocoon.xml.XMLPipe;
/**
+ * A transformer is the zero to several intermediate points in a pipeline.
+ * It "transforms" incoming XML arriving as SAX events from the pipeline
+ * and sends modified XML as SAX events down the pipeline.
*
* @author <a href="mailto:pier@apache.org">Pierpaolo Fumagalli</a>
* (Apache Software Foundation)
- * @version CVS $Id: Transformer.java,v 1.2 2004/03/05 13:02:59 bdelacretaz Exp $
+ * @version CVS $Id$
*/
public interface Transformer extends XMLPipe, SitemapModelComponent {
Modified: cocoon/trunk/src/java/org/apache/cocoon/xml/XMLProducer.java
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/xml/XMLProducer.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/xml/XMLProducer.java Mon Sep 27 09:07:01 2004
@@ -1,12 +1,12 @@
/*
* Copyright 1999-2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,8 +15,6 @@
*/
package org.apache.cocoon.xml;
-
-
/**
* This interfaces identifies classes that produce XML data, sending SAX
* events to the configured <code>XMLConsumer</code>.
@@ -26,7 +24,7 @@
*
* @author <a href="mailto:pier@apache.org">Pierpaolo Fumagalli</a>
* (Apache Software Foundation)
- * @version CVS $Id: XMLProducer.java,v 1.2 2004/03/05 13:03:01 bdelacretaz Exp $
+ * @version CVS $Id$
*/
public interface XMLProducer {
@@ -34,6 +32,5 @@
* Set the <code>XMLConsumer</code> that will receive XML data.
*/
void setConsumer(XMLConsumer consumer);
-
}