This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "Category:OWASP Content Validation using Java Annotations Project - SHIP Validator 0.3 Release - Roadmap"
From OWASP
Dag Hovland (talk | contribs) (Preliminary roadmap) |
Dag Hovland (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | '''''Motivation:''''' | |
− | + | For this release we wished to add more javadoc, refactor the code to be more readable and add more diagrams to explain the code. | |
− | |||
− | |||
− | + | '''''Usage:''''' | |
− | |||
− | |||
− | + | #Add the SHIPValidator.jar to your classpath | |
+ | #Test whether it works by using the following command: <code>java no.uib.ii.ship.validation.test.Webform</code> | ||
+ | #Add the code below to your application to use the validator. Note that the Validator can be reused. | ||
− | + | {| width="500" cellspacing="1" cellpadding="1" border="0" | |
− | + | |- | |
− | + | | <code>IValidatorFactory vf = new ValidatorFactory(); //Instantiate a validator factory Validator val = vf.getValidator(); // Create a validator ValidationSummary vs = val.validate(w); // validate the annotated object w System.out.println(vs.toString());</code> | |
− | + | |} | |
− | |||
− | In the folder tex is | + | '''''Documentation:''''' |
+ | |||
+ | In the folder tex is an article describing the framework which can be used as a first draft of the manual. | ||
+ | |||
+ | '''''Bug in MetaConstraints:''''' | ||
+ | |||
+ | In the work we discovered and fixed a bug in MetaConstraints. This bug was also in the previous two releases, but has been fixed in the downloadable packages. |
Revision as of 11:39, 17 July 2009
Motivation:
For this release we wished to add more javadoc, refactor the code to be more readable and add more diagrams to explain the code.
Usage:
- Add the SHIPValidator.jar to your classpath
- Test whether it works by using the following command:
java no.uib.ii.ship.validation.test.Webform
- Add the code below to your application to use the validator. Note that the Validator can be reused.
IValidatorFactory vf = new ValidatorFactory(); //Instantiate a validator factory Validator val = vf.getValidator(); // Create a validator ValidationSummary vs = val.validate(w); // validate the annotated object w System.out.println(vs.toString());
|
Documentation:
In the folder tex is an article describing the framework which can be used as a first draft of the manual.
Bug in MetaConstraints:
In the work we discovered and fixed a bug in MetaConstraints. This bug was also in the previous two releases, but has been fixed in the downloadable packages.
This category currently contains no pages or media.