The Java Validation Library provides a set of classes to validate data. The rules for validation are configurable through XML.
Be the first to post a text review of Java Validation Library. Rate and review a project by clicking thumbs up or thumbs down in the right column.
The second release is ready! This release includes a method to retrieve the primitive values while validating. Some performance enhancements have been made also. See the release notes and change log for details. Enjoy! Mike
Version 0.2 =========================== * Some code optimization in the Validator class. Found that I was creating a lot unecessary temporary objects when checking data types. They now use the static methods of their respective wrapper class. * New method added to the Validator class, getObject( "<Contraint_Name>", <Data_To_Check> ). This method will return an instance of the appropriate wrapper class to represent the data validated. It will throw a DataValidationException if any validation errors occur. You can retrieve a List of the errors by calling getErrorList(). This method is meant to provide a convient way to perform validation and retrieve the data in a usable format. * New class DataValidationException which is thrown by the getObject() method in Validator on validation errors. * Rewrote the ValidatorTest example so that hopefully the output is more useful. Also added examples of how to use the new getObject() method in Validator. * Tested JValid with JDOM Beta 6 and Xerces 1.3. It worked! :) * Updated the readme to reflect the above. * The jvalid jar file no longer includes the version number. (i.e. jvalid.jar not jvalid-?.?.jar ) * Created this file :) Version 0.1 =========================== Initial release.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?