jefft       2003/02/28 06:07:17

  Modified:    src/deprecated/java/org/apache/cocoon/environment
                        WriteableSource.java
               src/documentation/xdocs/userdocs/transformers
                        sourcewriting-transformer.xml
               src/java/org/apache/cocoon/components/source SourceUtil.java
               src/java/org/apache/cocoon/components/source/impl
                        FileSource.java
               src/java/org/apache/cocoon/transformation
                        SourceWritingTransformer.java
  Log:
  Javadoc cleanups: it seems WriteableSource has been completely replaced with
  Excalibur's ModifiableSource
  
  Revision  Changes    Path
  1.2       +2 -2      
xml-cocoon2/src/deprecated/java/org/apache/cocoon/environment/WriteableSource.java
  
  Index: WriteableSource.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/deprecated/java/org/apache/cocoon/environment/WriteableSource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WriteableSource.java      26 Dec 2002 18:38:57 -0000      1.1
  +++ WriteableSource.java      28 Feb 2003 14:07:16 -0000      1.2
  @@ -74,7 +74,7 @@
    * implementation (such as file), can use a serializer to convert
    * SAX events to a byte stream.
    *
  - * @deprecated Use the [EMAIL PROTECTED] 
org.apache.cocoon.components.source.WriteableSource} interface instead
  + * @deprecated Use the [EMAIL PROTECTED] 
org.apache.excalibur.source.ModifiableSource} interface instead
    * @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a>
    * @version CVS $Id$
    */
  
  
  
  1.5       +2 -2      
xml-cocoon2/src/documentation/xdocs/userdocs/transformers/sourcewriting-transformer.xml
  
  Index: sourcewriting-transformer.xml
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/sourcewriting-transformer.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sourcewriting-transformer.xml     5 Feb 2003 13:33:49 -0000       1.4
  +++ sourcewriting-transformer.xml     28 Feb 2003 14:07:16 -0000      1.5
  @@ -14,7 +14,7 @@
        <body>
                <s1 title="Source Writing Transformer">
                        <p>Diverts xml from a pipeline, writing it to a Source.</p>
  -                     <p>Thankfully, <code>FileSource</code> is no longer the only 
<code>Source</code> that currently implements <code>WritableSource</code>; there are 
implementations of WebDAV and Apache Slide WritableSources in the scratchpad. 
Hopefully further <code>WriteableSource</code> implementations (XMLDB, CVS, Email, 
SQL, etc.) will be appear in the future.</p>
  +                     <p>Thankfully, <code>FileSource</code> is no longer the only 
<code>Source</code> that currently implements <code>WritableSource</code>; there are 
implementations of WebDAV and Apache Slide WritableSources in the scratchpad. 
Hopefully further <code>ModifiableSource</code> implementations (XMLDB, CVS, Email, 
SQL, etc.) will be appear in the future.</p>
                        <ul>
                                <li>Name : write-source</li>
                                <li>Class: 
org.apache.cocoon.transformation.SourceWritingTransformer</li>
  @@ -42,7 +42,7 @@
                                        ]]>
                                </source>
                        <p>In the namespace 
<code>xmlns:source="http://apache.org/cocoon/source/1.0";</code>.</p>
  -                     <p>The contents of the 
<code><![CDATA[<source:fragment/>]]></code> tag are written to the specified 
WriteableSource when the document containing it is transformed by 
SourceWritingTransformer.</p>
  +                     <p>The contents of the 
<code><![CDATA[<source:fragment/>]]></code> tag are written to the specified 
ModifiableSource when the document containing it is transformed by 
SourceWritingTransformer.</p>
                </s1>
                <s1 title="Definition">
                                <source>
  
  
  
  1.24      +2 -2      
xml-cocoon2/src/java/org/apache/cocoon/components/source/SourceUtil.java
  
  Index: SourceUtil.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/SourceUtil.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- SourceUtil.java   27 Feb 2003 15:22:48 -0000      1.23
  +++ SourceUtil.java   28 Feb 2003 14:07:16 -0000      1.24
  @@ -370,7 +370,7 @@
   
       /**
        * Write a DOM Fragment to a source
  -     * If the source is a [EMAIL PROTECTED] WriteableSource} the interface is used.
  +     * If the source is a ModifiableSource the interface is used.
        * If not, the source is invoked with an additional parameter named
        * "content" containing the XML.
        *
  
  
  
  1.13      +2 -3      
xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/FileSource.java
  
  Index: FileSource.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/FileSource.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- FileSource.java   7 Feb 2003 11:22:27 -0000       1.12
  +++ FileSource.java   28 Feb 2003 14:07:16 -0000      1.13
  @@ -67,8 +67,7 @@
   import org.apache.excalibur.source.impl.URLSource;
   
   /**
  - * A <code>org.apache.cocoon.components.source.WriteableSource</code>
  - * for 'file:/' system IDs.
  + * A <code>ModifiableSource</code> for 'file:/' system IDs.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a>
    * @version $Id$
  
  
  
  1.19      +1 -1      
xml-cocoon2/src/java/org/apache/cocoon/transformation/SourceWritingTransformer.java
  
  Index: SourceWritingTransformer.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/SourceWritingTransformer.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- SourceWritingTransformer.java     27 Feb 2003 15:22:48 -0000      1.18
  +++ SourceWritingTransformer.java     28 Feb 2003 14:07:17 -0000      1.19
  @@ -80,7 +80,7 @@
   
   /**
   /**
  - * This transformer allows you to output to a WriteableSource.
  + * This transformer allows you to output to a ModifiableSource.
    *
    * <p>Definition:</p>
    * <pre>
  
  
  

Reply via email to