commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
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.


--
Ceki


--
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