Hi all,
Looking through the Intake/validator package I came across a few things
which are not totally clear to me.
1. What's the difference between DefaultValidator & FileValidator? They look
quite similiar to me.
2. Is there a need for both NumberValidator & IntegerValidator?
3. Shouldn't part of DefaultValidator actually be called StringValidator?
New class decreasing size of DefaultValidator.
4. Should we be looking at deprecating NumberKeyValidator?
Colin
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
[Turbine-dev] IntakeService
| Tweet |
|
Search Discussions
Discussion Posts
Previous
Follow ups
- Quinton McCombs: They are basically the same except that the FileValidator has no "mask" validation. It had to be a separate class because the actual object being passed in was not a String. Probabley not. I think the intent here was to provide a base class for various number types. However, I can't really see much value in it. I don't think so. The DefaultValidator does deal with Strings but that is because data passed to it from the URL will always be a String. This is why all of the validators extend
- Colin Chalmers: Hi Quinton, Thx for your reply. 1. As far as the FileValidator goes where & when is it used? It's not totally clear to me. 2. I'll probably try to deprecate the IntegerValidator since the NumberValidator should be suffice. Colin --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
- Quinton McCombs: --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
Related Discussions
Discussion Overview
| group | dev
|
| categories | turbine |
| posted | Apr 22, '03 at 8:25p |
| active | Apr 23, '03 at 7:43p |
| posts | 7 |
| users | 3 |
| website | turbine.apache.org |
