You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by po...@apache.org on 2003/12/25 22:52:31 UTC
cvs commit: jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml SetTag.java
polx 2003/12/25 13:52:31
Modified: jelly/src/java/org/apache/commons/jelly/tags/core
InvokeStaticTag.java InvokeTag.java ForEachTag.java
jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml
SetTag.java
Log:
Fixing tag-documentation following JELLY-58 not really obeying the patches.
Result is already online.
Paul
Revision Changes Path
1.4 +5 -7 jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeStaticTag.java
Index: InvokeStaticTag.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeStaticTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- InvokeStaticTag.java 9 Oct 2003 21:21:29 -0000 1.3
+++ InvokeStaticTag.java 25 Dec 2003 21:52:31 -0000 1.4
@@ -72,10 +72,8 @@
import org.apache.commons.jelly.XMLOutput;
/**
- * <p>
* A Tag which can invoke a static method on a class, without an
* instance of the class being needed.
- * </p>
* <p>
* Like the {@link InvokeTag}, this tag can take a set of
* arguments using the {@link ArgTag}.
1.5 +6 -6 jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeTag.java
Index: InvokeTag.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeTag.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- InvokeTag.java 9 Oct 2003 21:21:29 -0000 1.4
+++ InvokeTag.java 25 Dec 2003 21:52:31 -0000 1.5
@@ -71,7 +71,7 @@
import org.apache.commons.jelly.TagSupport;
import org.apache.commons.jelly.XMLOutput;
-/** A tag which creates a new object of the given type
+/** A tag which calls a function in an object instantied by core:new.
*
* @author Rodney Waldhoff
* @version $Revision$
1.23 +9 -7 jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/ForEachTag.java
Index: ForEachTag.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/ForEachTag.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ForEachTag.java 9 Oct 2003 21:21:29 -0000 1.22
+++ ForEachTag.java 25 Dec 2003 21:52:31 -0000 1.23
@@ -73,8 +73,10 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-/** A tag which performs an iteration over the results of an XPath expression
- *
+/**
+ * Iterates over a collection, iterator or an array of objects.
+ *
+ * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @version $Revision$
*/
1.4 +11 -7 jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java
Index: SetTag.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SetTag.java 9 Oct 2003 21:21:26 -0000 1.3
+++ SetTag.java 25 Dec 2003 21:52:31 -0000 1.4
@@ -76,8 +76,12 @@
import java.util.List;
import java.util.Collections;
-/** A tag which defines a variable from an XPath expression
- *
+/** A tag which defines a variable from an XPath expression.
+ * This function creates a variable of type {@link List} or {@link org.dom4j.Node}
+ * (for example {@link org.dom4j.Element} or {@link org.dom4j.Attribute}).
+ * Thus, the variable created from xml:set can be
+ * used from the other xml library functions.
+ *
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @version $Revision$
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org