commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester CallMethodRule.java
Date Sat, 28 Feb 2004 00:01:32 GMT
skitching    2004/02/27 16:01:32

  Modified:    digester/src/java/org/apache/commons/digester
                        CallMethodRule.java
  Log:
  Javadoc change only: warn about target method being invoked only at end
  of tag.
  
  Revision  Changes    Path
  1.30      +15 -8     jakarta-commons/digester/src/java/org/apache/commons/digester/CallMethodRule.java
  
  Index: CallMethodRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/CallMethodRule.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- CallMethodRule.java	16 Feb 2004 02:26:38 -0000	1.29
  +++ CallMethodRule.java	28 Feb 2004 00:01:31 -0000	1.30
  @@ -72,13 +72,13 @@
    * <p>Rule implementation that calls a method on the top (parent)
    * object, passing arguments collected from subsequent
    * <code>CallParamRule</code> rules or from the body of this
  - * element. 
  - * By using {@link #CallMethodRule(String methodName)} 
  + * element. </p>
  + *
  + * <p>By using {@link #CallMethodRule(String methodName)} 
    * a method call can be made to a method which accepts no
    * arguments.</p>
    *
  - * <p>
  - * Incompatible method parameter types are converted 
  + * <p>Incompatible method parameter types are converted 
    * using <code>org.apache.commons.beanutils.ConvertUtils</code>.
    * </p>
    *
  @@ -90,6 +90,13 @@
    * This method is much stricter in it's reflection.
    * Setting the <code>UseExactMatch</code> to true reverts to the use of this

    * method.</p>
  + *
  + * <p>Note that the target method is invoked when the  <i>end</i> of
  + * the tag the CallMethodRule fired on is encountered, <i>not</i> when the
  + * last parameter becomes available. This implies that rules which fire on
  + * tags nested within the one associated with the CallMethodRule will 
  + * fire before the CallMethodRule invokes the target method. This behaviour is
  + * not configurable. </p>
    *
    * @author Craig McClanahan
    * @author Scott Sanders
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message