Uses of Class
org.apache.tapestry.valid.ValidationConstraint

Packages that use ValidationConstraint
org.apache.tapestry.form.translator   
org.apache.tapestry.valid Components and classes that provide specialized, validating text fields. 
 

Uses of ValidationConstraint in org.apache.tapestry.form.translator
 

Methods in org.apache.tapestry.form.translator that return ValidationConstraint
protected  ValidationConstraint NumberTranslator.getConstraint()
           
protected  ValidationConstraint DateTranslator.getConstraint()
           
protected abstract  ValidationConstraint FormatTranslator.getConstraint()
           
 

Uses of ValidationConstraint in org.apache.tapestry.valid
 

Fields in org.apache.tapestry.valid declared as ValidationConstraint
static ValidationConstraint ValidationConstraint.REQUIRED
          Indicates that no value (or a value consisting only of white space) was provided for a field that requires a non-null value.
static ValidationConstraint ValidationConstraint.MINIMUM_WIDTH
          Indicates that a non-null value was provided, but that (after removing leading and trailing whitespace), the value was not long enough.
static ValidationConstraint ValidationConstraint.MAXIMUM_WIDTH
          Indicates that a non-null value was provided, but that (after removing leading and trailing whitespace), the value was too long.
static ValidationConstraint ValidationConstraint.DATE_FORMAT
          Indicates a general error in converting a String into a Date.
static ValidationConstraint ValidationConstraint.EMAIL_FORMAT
          Indicates a general error in the format of a string that is to be interpreted as a email.
static ValidationConstraint ValidationConstraint.NUMBER_FORMAT
          Indicates a general error in the format of a string that is to be interpreted as a number.
static ValidationConstraint ValidationConstraint.TOO_SMALL
          Indicates that the value was too small (for a Date, too early).
static ValidationConstraint ValidationConstraint.TOO_LARGE
          Indicates that the value was too large (for a Date, too late).
static ValidationConstraint ValidationConstraint.PATTERN_MISMATCH
          Indicates an error in a string that does not fulfill a pattern.
static ValidationConstraint ValidationConstraint.CONSISTENCY
          Indicates a consistency error, usually between too different fields.
static ValidationConstraint ValidationConstraint.URL_FORMAT
          Indicates that a URL is not of the correct format
static ValidationConstraint ValidationConstraint.DISALLOWED_PROTOCOL
          Indicates that the URL does not use one of the specified protocols
 

Methods in org.apache.tapestry.valid that return ValidationConstraint
 ValidationConstraint IFieldTracking.getConstraint()
          Returns the validation constraint that was violated by the input.
 ValidationConstraint FieldTracking.getConstraint()
           
 ValidationConstraint ValidatorException.getConstraint()
           
 

Methods in org.apache.tapestry.valid with parameters of type ValidationConstraint
 void FieldTracking.setConstraint(ValidationConstraint constraint)
           
 void IValidationDelegate.record(java.lang.String message, ValidationConstraint constraint)
          Records an error in the current field, or an unassociated error if there is no current field.
 void IValidationDelegate.record(IRender errorRenderer, ValidationConstraint constraint)
          Records an error in the current component, or an unassociated error.
 void ValidationDelegate.record(java.lang.String message, ValidationConstraint constraint)
          Invokes ValidationDelegate.record(IRender, ValidationConstraint), after wrapping the message parameter in a RenderString.
 void ValidationDelegate.record(IRender errorRenderer, ValidationConstraint constraint)
          Records error information about the currently selected component, or records unassociated (with any field) errors.
 

Constructors in org.apache.tapestry.valid with parameters of type ValidationConstraint
ValidatorException(java.lang.String errorMessage, ValidationConstraint constraint)
           
ValidatorException(java.lang.String errorMessage, IRender errorRenderer, ValidationConstraint constraint)
          Creates a new instance.