vgritsenko 2004/03/02 06:09:48
Modified: src/java/org/apache/cocoon/acting ResourceExistsAction.java
Removed: src/blocks/scratchpad/java/org/apache/cocoon/acting
ExtendedResourceExistsAction.java
Log:
Remove ExtendedResourceExists action - regular resource exists action does
the same.
Improve javadoc.
Revision Changes Path
1.5 +7 -9
cocoon-2.1/src/java/org/apache/cocoon/acting/ResourceExistsAction.java
Index: ResourceExistsAction.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/acting/ResourceExistsAction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ResourceExistsAction.java 12 Dec 2003 14:33:09 -0000 1.4
+++ ResourceExistsAction.java 2 Mar 2004 14:09:48 -0000 1.5
@@ -60,16 +60,14 @@
import java.util.Map;
/**
- * This action simply checks to see if a given resource exists. It checks
- * whether the specified in the src attribute source exists or not.
- * The action returns empty <code>Map</code> if it exists, null otherwise.
+ * This action simply checks to see if a resource identified by the
<code>src</code>
+ * sitemap attribute exists or not. The action returns empty
<code>Map</code> if
+ * resource exists, <code>null</code> otherwise.
*
- * <p>
- * Instead of src attribute, source can be specified using
- * parameter named 'url' (this is old syntax).
+ * <p>Instead of src attribute, source can be specified using
+ * parameter named <code>url</code> (this is old syntax, should be removed
soon).
*
- * <p>
- * <b>Note:</b> [EMAIL PROTECTED]
org.apache.cocoon.selection.ResourceExistsSelector}
+ * <p><b>NOTE:</b> [EMAIL PROTECTED]
org.apache.cocoon.selection.ResourceExistsSelector}
* should be preferred to this component, as the semantics of a Selector
better
* matches the supplied functionality.
*