Uses of Interface
org.jreform.Criterion

Packages that use Criterion
org.jreform Main package that defines public api. 
org.jreform.criteria Provides criteria for placing restrictions on input values. 
org.jreform.internal Contains the bulk of implementation. 
 

Uses of Criterion in org.jreform
 

Methods in org.jreform with parameters of type Criterion
<T> InputControlModifier<T>
InputCollection.checkbox(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
InputCollection.input(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
InputCollection.multiCheckbox(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
InputCollection.multiSelect(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
InputCollection.radio(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
InputCollection.select(InputDataType<T> type, String name, Criterion<T>... criteria)
           
 

Uses of Criterion in org.jreform.criteria
 

Classes in org.jreform.criteria that implement Criterion
 class AbstractCriterion<T>
          An abstract criterion that verifies itself and sets an error message if validation fails.
 class Accept<T>
          Checks that value is equal to one of the acceptable values.
 class AcceptString
          Checks if string is equal to one of the passed in strings.
 class And<T>
          Performs an AND over all criteria on the given value.
 class Email
          Checks that the value conforms to the email address format.
 class ExactLength
          Checks that the length of the value is equal to the given length.
 class Length
          Checks that the length of the value is within the given range.
 class Max<T extends Comparable<T>>
          Checks that the value is less than or equal to the given Comparable.
 class MaxLength
          Checks that value is not greater than the specified maximum.
 class Min<T extends Comparable<T>>
          Checks that value is greater than or equal to the given Comparable.
 class MinLength
          Checks that value is not less than the specified minimum.
 class Or<T>
          Performs an OR over all criteria on the given value.
 class PostcodeCA
          Checks that the value conforms to a valid Canadian postcode.
 class Range<T extends Comparable<T>>
          Checks that value is within the given range.
 class Regex
          Checks if a string matches a regular expression.
 class StartsWith
          Checks if value starts with the given string.
 class ZipCode
          Checks that the value conforms to the U.S.
 

Fields in org.jreform.criteria declared as Criterion
private  Criterion<T>[] Or.criteria
           
private  Criterion<T>[] And.criteria
           
private  Criterion<T> And.failedCriterion
           
 

Methods in org.jreform.criteria that return Criterion
static
<T> Criterion<T>
Criteria.accept(T... values)
           
static
<T> Criterion<T>
Criteria.and(Criterion<T>... criteria)
           
static Criterion<String> Criteria.emailAddress()
           
static Criterion<String> Criteria.exactLength(int length)
           
 Criterion<String> AcceptString.ignoreCase()
          Specifies string comparison to be case-insensitive.
static Criterion<String> Criteria.length(int min, int max)
           
static
<T extends Comparable<T>>
Criterion<T>
Criteria.max(T max)
           
static Criterion<String> Criteria.maxLength(int max)
           
static
<T extends Comparable<T>>
Criterion<T>
Criteria.min(T min)
           
static Criterion<String> Criteria.minLength(int min)
           
static
<T> Criterion<T>
Criteria.or(Criterion<T>... criteria)
           
static Criterion<String> Criteria.postcodeCA()
           
static
<T extends Comparable<T>>
Criterion<T>
Criteria.range(T min, T max)
           
static Criterion<String> Criteria.regex(String pattern)
           
static Criterion<String> Criteria.startsWith(String... prefix)
           
static Criterion<String> Criteria.zipcode()
           
 

Methods in org.jreform.criteria with parameters of type Criterion
static
<T> Criterion<T>
Criteria.and(Criterion<T>... criteria)
           
static
<T> Criterion<T>
Criteria.or(Criterion<T>... criteria)
           
 

Constructors in org.jreform.criteria with parameters of type Criterion
And(Criterion<T>... criteria)
           
Or(Criterion<T>... criteria)
           
 

Uses of Criterion in org.jreform.internal
 

Fields in org.jreform.internal declared as Criterion
private  Criterion<T>[] AbstractInputControl.criteria
           
 

Methods in org.jreform.internal that return Criterion
protected  Criterion<T>[] AbstractInputControl.getCriteria()
           
 

Methods in org.jreform.internal with parameters of type Criterion
<T> InputControlModifier<T>
AbstractInputCollection.checkbox(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
AbstractInputCollection.input(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
AbstractInputCollection.multiCheckbox(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
AbstractInputCollection.multiSelect(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
AbstractInputCollection.radio(InputDataType<T> type, String name, Criterion<T>... criteria)
           
<T> InputControlModifier<T>
AbstractInputCollection.select(InputDataType<T> type, String name, Criterion<T>... criteria)
           
 

Constructors in org.jreform.internal with parameters of type Criterion
AbstractInputControl(InputDataType<T> type, String name, Criterion<T>... criteria)
          Constructor.
CheckboxImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
InputImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
MultiCheckboxImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
MultiInputImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
MultiSelectImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
RadioImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
SelectImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
 



Copyright © 2007-2008 jReform