WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.util
Class Check

Object
  extended by Check
      extended by hirondelle.web4jtools.util.Check

public final class Check
extends Check

Custom validations.

This is an example of extending the framework's Check class with custom validations. Note that the name of this class is the same as the name of the framework class. This is unusual. It allows the calling code to retain the same look when using custom validations.


Constructor Summary
Check()
           
 
Method Summary
static Validator isRegex()
          Return true only if Object.toString() forms a valid regular expression.
 
Methods inherited from class Check
email, forSpam, isFalse, isTrue, max, max, max, max, min, min, min, min, numDecimalsAlways, numDecimalsMax, optional, pattern, range, range, range, range, required, required
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Check

public Check()
Method Detail

isRegex

public static Validator isRegex()
Return true only if Object.toString() forms a valid regular expression.

If the Object is an instance of SafeText, then perform the test on SafeText.getRawString() instead.


WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26