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 @@
* ...
* <source:patch xmlns:source="http://apache.org/cocoon/propwrite/1.0">
* <source:source>webdav://localhost/webdav/step1/repo/contentA.xml</source:source>
- * <source:prop name="author" namespace="meta">me</source:prop>
- * <source:props>
+ * <source:set>
* <myns:author xmlns:myns="meta">me</myns:author>
- * </source:props>
+ * </source:set>
+ * <source:remove>
+ * <myns:title xmlns:myns="meta"/>
+ * </source:remove>
* </source:patch>
* ...
* </page>
|