You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Janek Bogucki <ya...@studylink.com> on 2002/01/11 16:05:24 UTC

[DIGESTER] Less ambiguous wording for SetTopRule.html

It might be a bit clearer to continue with the "set parent" phrase instead
of shortening to 'parent'. ie

       Construct a "set parent" rule with the specified method name. The
       "set parent" method's argument type is assumed to be the class of the
       child object.

This makes it clear we are talking about a method of a 'child' and not a
method of the 'parent'.

Also should the argument type really be the type of the child? If it's a
"setParent" method then the argument type should be the the type of the
parent.

My 0.02 Euros worth,
-Janek

Original
--------

SetTopRule

public SetTopRule(Digester digester,
                  java.lang.String methodName)

       Construct a "set parent" rule with the specified method name. The
       parent method's argument type is assumed to be the class of the
       child object.

       Parameters:
              digester - The associated Digester
              methodName - Method name of the parent method to call



http://jakarta.apache.org/commons/digester/commons-digester-1.1.1/docs/api/o
rg/apache/commons/digester/SetTopRule.html


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>