Package org.apache.cocoon.validation

Examples of org.apache.cocoon.validation.Validator.validate()


      int i = 0;
      SortedSet violations = null;
      for (; i < 100; i++)
      {
        // perform validation
        violations = validator.validate( tbean );
      }
      time = System.currentTimeMillis () - time;
      System.out.println( "\nValidation performance:");
      System.out.println( " validate() executed " + i + " times for a total of " + time + " ms");
      System.out.println( "Avarage validation time: " + (time/i) + " ms " );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.