cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcas...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/transformation SourcePropsWritingTransformer.java
Date Sat, 22 Nov 2003 13:11:52 GMT
gcasper     2003/11/22 05:11:52

  Modified:    src/blocks/repository/java/org/apache/cocoon/transformation
                        SourcePropsWritingTransformer.java
  Log:
  Updated javadocs
  
  Revision  Changes    Path
  1.4       +7 -5      cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/transformation/SourcePropsWritingTransformer.java
  
  Index: SourcePropsWritingTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/transformation/SourcePropsWritingTransformer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SourcePropsWritingTransformer.java	15 Nov 2003 04:21:29 -0000	1.3
  +++ SourcePropsWritingTransformer.java	22 Nov 2003 13:11:52 -0000	1.4
  @@ -67,7 +67,7 @@
   import org.xml.sax.SAXException;
   
   /**
  - * This transformer allows you to set properties on an InspectableSource.
  + * This transformer allows you to set and remove properties on an InspectableSource.
    * 
   * <p>Input XML document example:</p>
    * <pre>
  @@ -75,10 +75,12 @@
    *   ...
    *   &lt;source:patch xmlns:source="http://apache.org/cocoon/propwrite/1.0"&gt;
    *     &lt;source:source&gt;webdav://localhost/webdav/step1/repo/contentA.xml&lt;/source:source&gt;
  - *     &lt;source:prop name="author" namespace="meta"&gt;me&lt;/source:prop&gt;
  - *     &lt;source:props&gt;
  + *     &lt;source:set&gt;
    *       &lt;myns:author xmlns:myns="meta"&gt;me&lt;/myns:author&gt;
  - *     &lt;/source:props&gt;
  + *     &lt;/source:set&gt;
  + *     &lt;source:remove&gt;
  + *       &lt;myns:title xmlns:myns="meta"/&gt;
  + *     &lt;/source:remove&gt;
    *   &lt;/source:patch&gt;
    *   ...
    * &lt;/page&gt;
  
  
  

Mime
View raw message