commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janek Bogucki <...@studylink.com>
Subject [DIGESTER] Less ambiguous wording for SetTopRule.html
Date Fri, 11 Jan 2002 15:05:24 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message