From: Mike W. <mik...@us...> - 2001-03-29 03:08:27
|
Update of /cvsroot/jvalid/jvalid In directory usw-pr-cvs1:/tmp/cvs-serv14038 Added Files: CHANGES Log Message: Version history. --- NEW FILE --- Changes =========================== Below you will find the history of changes to JValid. Version 0.1 =========================== Initial release. Version 0.2 =========================== * Some code optimization in the Validator class. Found that I was creating a lot unecessary temporary objects in 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 :) |