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

Packages that use ValidationConstraint
org.apache.tapestry.form.translator Defines translator bindings used primarily in form component input translations. 
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 abstract  ValidationConstraint FormatTranslator.getConstraint()
           
protected  ValidationConstraint DateTranslator.getConstraint()
           
protected  ValidationConstraint NumberTranslator.getConstraint()
           
 

Uses of ValidationConstraint in org.apache.tapestry.valid
 

Fields in org.apache.tapestry.valid declared as ValidationConstraint
static ValidationConstraint ValidationConstraint.CONSISTENCY
          Indicates a consistency error, usually between too different fields.
static ValidationConstraint ValidationConstraint.DATE_FORMAT
          Indicates a general error in converting a String into a Date.
static ValidationConstraint ValidationConstraint.DISALLOWED_PROTOCOL
          Indicates that the URL does not use one of the specified protocols.
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.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.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.NUMBER_FORMAT
          Indicates a general error in the format of a string that is to be interpreted as a number.
static ValidationConstraint ValidationConstraint.PATTERN_MISMATCH
          Indicates an error in a string that does not fulfill a pattern.
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.TOO_LARGE
          Indicates that the value was too large (for a Date, too late).
static ValidationConstraint ValidationConstraint.TOO_SMALL
          Indicates that the value was too small (for a Date, too early).
static ValidationConstraint ValidationConstraint.URL_FORMAT
          Indicates that a URL is not of the correct format.
 

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

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

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



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.