commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <>
Subject Isn't Rule really an Action?
Date Tue, 14 May 2002 11:58:44 GMT

Am I the only one that finds the disctinction between Rule, Rules and
RuleSet confusing?

Isn't a Rule really an Action? Wouldn't it be better to name Rule as
Action such that a Rule becomes the association of a pattern and an
Action? One would then write Digester.addRule(String pattern, Action
action) instead of Digester.addRule(String pattern, Rule rule).

Has this been suggested before? I have checked in the mailing lists
and could not find any references. My apologies if this has been
already debated. Regards.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message