Uses of Interface
org.mentawai.rule.Rule

Packages that use Rule
org.mentawai.rule   
org.mentawai.validation   
 

Uses of Rule in org.mentawai.rule
 

Classes in org.mentawai.rule that implement Rule
 class BasicRule
          The simplest validation rule that validate a single action input field.
 class BooleanRule
           
 class CNPJRule
          A rule to validate a CNPJ.
 class ContainsRule
          A validation rule that checks for words.
 class CPFRule
          A rule to validate a CPF.
 class CrossRule
          A rule that compares two or more action input fields for validation.
 class DateRule
           
 class DejavuRule
           
 class DependentRule
          Make a field required only and only if another field is present in the form.
 class EmailRule
          A rule to validate an email address.
 class EqualRule
          A validation rule that compares two action input fields for equality.
 class FileRule
          A rule to validate a content type of file to upload, this validation uses regular expression pattern.
 class FileSizeRule
           
 class ImageMinSizeRule
           
 class IntegerRule
          A rule to validate integers.
 class LocaleRule
          A rule that depends on the user locale for validation.
 class MethodRule
          A validation rule that calls a method by reflection to validate.
 class NumberRule
          A rule to validate numbers.
 class OptionsRule
          A rule to validate number of options.
 class RegexRule
          A validation rule applied with a regular expression pattern.
 class RequiredFieldRule
          A validation rule for required fields.
 class RequiredRule
          A validation rule that checks if an action input value is present, in other workds, not null and not empty!
 class StringRule
          A rule to validat Strings.
 class TimeRule
           
 

Uses of Rule in org.mentawai.validation
 

Methods in org.mentawai.validation with parameters of type Rule
 void Validator.add(String field, Rule rule, int error_id)
           
 void Validator.add(String field, Rule rule, int error_id, String... params)
           
 void Validator.add(String field, Rule rule, String error_id)
           
 void Validator.add(String field, Rule rule, String error_id, String... params)
           
 



Copyright © 2011. All Rights Reserved.