A B C E F G I L M N P R S T U V

A

AbstractValidator<T> - Class in com.google.gwt.validation.client
Wrapper for IValidator that contains utility methods for validation
AbstractValidator() - Constructor for class com.google.gwt.validation.client.AbstractValidator
 
arrayToList(String...) - Method in class com.google.gwt.validation.client.AbstractValidator
I'm fairly certain this exists elsewhere but I want to use it in this context to be GWT safe and not rely on emulation.
AssertFalse - Annotation Type in com.google.gwt.validation.client
Assert that a method or field will be false when validated
AssertFalseValidator - Class in com.google.gwt.validation.client
Validator that implements the @AssertFalse annotation
AssertFalseValidator() - Constructor for class com.google.gwt.validation.client.AssertFalseValidator
 
AssertTrue - Annotation Type in com.google.gwt.validation.client
Assert that a method or field will be true when validated
AssertTrueValidator - Class in com.google.gwt.validation.client
Validator that implements the @AssertTrue annotation
AssertTrueValidator() - Constructor for class com.google.gwt.validation.client.AssertTrueValidator
 

B

buildInvalidConstraint(T) - Method in class com.google.gwt.validation.rebind.ValidationPackage
Build an InvalidConstraint object that matches the annotation

C

com.google.gwt.validation.client - package com.google.gwt.validation.client
 
com.google.gwt.validation.client.interfaces - package com.google.gwt.validation.client.interfaces
 
com.google.gwt.validation.rebind - package com.google.gwt.validation.rebind
 
com.google.gwt.validation.server - package com.google.gwt.validation.server
 
ConstraintValidator - Annotation Type in com.google.gwt.validation.client
Link between an constraint annotation and its constraint validation implementation
A given constraint annotation should be annotated by a @ValidatorClass annotation to refer to its constraint validation implementation
(Taken from JSR-303 example implementation in specification document.)
createValidatorImplementation() - Method in class com.google.gwt.validation.rebind.ValidatorCreator
Uses a sourcecode writer to write the implementation of the class's validator that was indicated at construction.

E

Email - Annotation Type in com.google.gwt.validation.client
Asserts that the field or method is a string representing an email when validated.
EmailValidator - Class in com.google.gwt.validation.client
Implements the @Email annotation.
EmailValidator() - Constructor for class com.google.gwt.validation.client.EmailValidator
 

F

Future - Annotation Type in com.google.gwt.validation.client
Assert that a method or field will be a date in the future when validated
FutureValidator - Class in com.google.gwt.validation.client
Validator that implements the @Future annotation
FutureValidator() - Constructor for class com.google.gwt.validation.client.FutureValidator
 

G

generate(TreeLogger, GeneratorContext, String) - Method in class com.google.gwt.validation.rebind.ValidatorGenerator
 
getClassLevelValidatorsForClass(Class<?>) - Static method in class com.google.gwt.validation.rebind.ValidationMetadataFactory
 
getGroups() - Method in class com.google.gwt.validation.rebind.ValidationPackage
Get the list of groups that this validation belongs in.
getGroupSequenceMap(Class<?>) - Static method in class com.google.gwt.validation.rebind.ValidationMetadataFactory
Returns a java.util.Hashset that contains the String key of the sequence name along with a list of all of the groups in that sequence in the proper order.
getGroupSequenceMapping(Class<?>) - Method in class com.google.gwt.validation.client.AbstractValidator
Gets the group sequence mapping from the implementing class
getGroupSequenceMapping(Class<?>) - Method in class com.google.gwt.validation.server.ServerValidator
Get a list of group sequence mappings given the input class
getImplementingConstraint() - Method in class com.google.gwt.validation.rebind.ValidationPackage
Get an instance of the implementing constraint
getInvalidObject() - Method in interface com.google.gwt.validation.client.interfaces.IInvalidConstraint
Root bean being validated
getInvalidObject() - Method in class com.google.gwt.validation.client.InvalidConstraint
 
getItemName() - Method in class com.google.gwt.validation.client.InvalidConstraint
 
getItemName() - Method in class com.google.gwt.validation.rebind.ValidationPackage
Outward facing item name that represents the field or method to be validated
getMessage() - Method in interface com.google.gwt.validation.client.interfaces.IInvalidConstraint
Error message
getMessage() - Method in class com.google.gwt.validation.client.InvalidConstraint
 
getMessage() - Method in class com.google.gwt.validation.rebind.ValidationPackage
Get the message that will be used if validation fails
getMethod() - Method in class com.google.gwt.validation.rebind.ValidationPackage
Get the java.lang.reflect.Method that represents the method to invoke.
getPropertyPath() - Method in interface com.google.gwt.validation.client.interfaces.IInvalidConstraint
the property path to the value from rootBean Null if the value is the rootBean itself
getPropertyPath() - Method in class com.google.gwt.validation.client.InvalidConstraint
 
getValidAnnotedPackages(Class<?>) - Static method in class com.google.gwt.validation.rebind.ValidationMetadataFactory
 
getValidationPropertyMap() - Method in class com.google.gwt.validation.rebind.ValidationPackage
Get the property map
getValidatorsForClass(Class<?>) - Static method in class com.google.gwt.validation.rebind.ValidationMetadataFactory
Returns a list of validators that apply to each method of a given class, that are given for the valid list of groups and that are in order by group ordering as annotated in the class.
getValue() - Method in interface com.google.gwt.validation.client.interfaces.IInvalidConstraint
The value failing to pass the constraint
getValue() - Method in class com.google.gwt.validation.client.InvalidConstraint
 
GroupSequence - Annotation Type in com.google.gwt.validation.client
Groups are useful to define subsets of constraints for validation purposes.
GroupSequences - Annotation Type in com.google.gwt.validation.client
Allows more than one GroupSequence to be defined on a class.

I

IConstraint<A extends java.lang.annotation.Annotation> - Interface in com.google.gwt.validation.client.interfaces
Define the logic to validate a given constraint
(Taken from JSR-303 example implementation in specification document.)
IInvalidConstraint<T> - Interface in com.google.gwt.validation.client.interfaces
Describe a constraint validation defect
TODO add pointers to the metadata?
From the JSR-303 specification
initialize(AssertFalse) - Method in class com.google.gwt.validation.client.AssertFalseValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.AssertFalseValidator
 
initialize(AssertTrue) - Method in class com.google.gwt.validation.client.AssertTrueValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.AssertTrueValidator
 
initialize(Email) - Method in class com.google.gwt.validation.client.EmailValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.EmailValidator
 
initialize(Future) - Method in class com.google.gwt.validation.client.FutureValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.FutureValidator
 
initialize(A) - Method in interface com.google.gwt.validation.client.interfaces.IConstraint
Initialize the constraint validator.
initialize(Map<String, String>) - Method in interface com.google.gwt.validation.client.interfaces.IConstraint
Initialize the constraint validator, this is a "hack" for GWT initialization
initialize(Length) - Method in class com.google.gwt.validation.client.LengthValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.LengthValidator
 
initialize(Max) - Method in class com.google.gwt.validation.client.MaxValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.MaxValidator
 
initialize(Min) - Method in class com.google.gwt.validation.client.MinValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.MinValidator
 
initialize(NotEmpty) - Method in class com.google.gwt.validation.client.NotEmptyValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.NotEmptyValidator
 
initialize(NotNull) - Method in class com.google.gwt.validation.client.NotNullValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.NotNullValidator
 
initialize(Past) - Method in class com.google.gwt.validation.client.PastValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.PastValidator
 
initialize(Pattern) - Method in class com.google.gwt.validation.client.PatternValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.PatternValidator
 
initialize(Range) - Method in class com.google.gwt.validation.client.RangeValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.RangeValidator
 
initialize(Size) - Method in class com.google.gwt.validation.client.SizeValidator
 
initialize(Map<String, String>) - Method in class com.google.gwt.validation.client.SizeValidator
 
intersects(Collection<? extends Object>, Collection<? extends Object>) - Method in class com.google.gwt.validation.client.AbstractValidator
Returns true if and only if list A intersects list B at one or more points.
InvalidConstraint<T> - Class in com.google.gwt.validation.client
This class is for denoting instances where a particular object has failed the validation.
InvalidConstraint(String, String) - Constructor for class com.google.gwt.validation.client.InvalidConstraint
 
isFieldBased() - Method in class com.google.gwt.validation.rebind.ValidationPackage
Returns true if the package is for a field with a getter method.
isValid(Object) - Method in class com.google.gwt.validation.client.AssertFalseValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.AssertTrueValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.EmailValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.FutureValidator
 
isValid(Object) - Method in interface com.google.gwt.validation.client.interfaces.IConstraint
Evaluates the constraint against a value.
isValid(Object) - Method in class com.google.gwt.validation.client.LengthValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.MaxValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.MinValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.NotEmptyValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.NotNullValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.PastValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.PatternValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.RangeValidator
 
isValid(Object) - Method in class com.google.gwt.validation.client.SizeValidator
 
IValidatable - Interface in com.google.gwt.validation.client.interfaces
Marker interface for validatable classes.
IValidator<T> - Interface in com.google.gwt.validation.client.interfaces
Basic interface for a validator to validate a given class

L

Length - Annotation Type in com.google.gwt.validation.client
Asserts that the field or method will have a length between the minimum and maximum when validated.
LengthValidator - Class in com.google.gwt.validation.client
Validator that implements the @Length annotation.
LengthValidator() - Constructor for class com.google.gwt.validation.client.LengthValidator
 

M

Max - Annotation Type in com.google.gwt.validation.client
Asserts the maximum value of the field or method when validated
MaxValidator - Class in com.google.gwt.validation.client
Implements the @Max annotation.
MaxValidator() - Constructor for class com.google.gwt.validation.client.MaxValidator
 
Min - Annotation Type in com.google.gwt.validation.client
Asserts what the minimum value of the field or method should be when validated.
MinValidator - Class in com.google.gwt.validation.client
Implements the @Min annotation.
MinValidator() - Constructor for class com.google.gwt.validation.client.MinValidator
 

N

NotEmpty - Annotation Type in com.google.gwt.validation.client
Asserts that the field or method is not empty when validated.
NotEmptyValidator - Class in com.google.gwt.validation.client
Implements the @NotEmpty annotation.
NotEmptyValidator() - Constructor for class com.google.gwt.validation.client.NotEmptyValidator
 
NotNull - Annotation Type in com.google.gwt.validation.client
Asserts that the given field or method is not null when validated.
NotNullValidator - Class in com.google.gwt.validation.client
Implements the @NotNull annotation.
NotNullValidator() - Constructor for class com.google.gwt.validation.client.NotNullValidator
 

P

Past - Annotation Type in com.google.gwt.validation.client
Assert that a method or field will be a date in the past when validated
PastValidator - Class in com.google.gwt.validation.client
Validator that implements the @Past annotation
PastValidator() - Constructor for class com.google.gwt.validation.client.PastValidator
 
Pattern - Annotation Type in com.google.gwt.validation.client
Asserts that the field or method matches the given regex pattern when validated.
Patterns - Annotation Type in com.google.gwt.validation.client
Allows the use of more than one pattern on a given field or method.
PatternValidator - Class in com.google.gwt.validation.client
Implements the @Pattern annotation.
PatternValidator() - Constructor for class com.google.gwt.validation.client.PatternValidator
 
performValidation(T, String, ArrayList<String>, HashSet<String>, HashSet<String>) - Method in class com.google.gwt.validation.client.AbstractValidator
Actual validation engine class that performs validation internally
performValidation(T, String, ArrayList<String>, HashSet<String>, HashSet<String>) - Method in class com.google.gwt.validation.server.ServerValidator
 
prepareValidation(T, String, Object, ArrayList<String>) - Method in class com.google.gwt.validation.client.AbstractValidator
Group level validation performed for pre-processing of the engine.

R

Range - Annotation Type in com.google.gwt.validation.client
Asserts that the value contained by the field or method is between minimum and maximum when validated.
RangeValidator - Class in com.google.gwt.validation.client
Implements the @Range annotation.
RangeValidator() - Constructor for class com.google.gwt.validation.client.RangeValidator
 

S

ServerValidator<T> - Class in com.google.gwt.validation.server
This class serves as a server-side implementation of IValidator that can be used on the backend without the overhead / fuss of the GWT.create() mechanism.
ServerValidator() - Constructor for class com.google.gwt.validation.server.ServerValidator
 
setInvalidObject(T) - Method in class com.google.gwt.validation.client.InvalidConstraint
 
setItemName(String) - Method in class com.google.gwt.validation.client.InvalidConstraint
 
setMessage(String) - Method in class com.google.gwt.validation.client.InvalidConstraint
 
setPropertyPath(String) - Method in class com.google.gwt.validation.client.InvalidConstraint
 
setValue(Object) - Method in class com.google.gwt.validation.client.InvalidConstraint
 
Size - Annotation Type in com.google.gwt.validation.client
Asserts that the field or method will have a (collection, array, or map) size between the minimum and maximum when validated.
SizeValidator - Class in com.google.gwt.validation.client
Validator that implements the @Size annotation.
SizeValidator() - Constructor for class com.google.gwt.validation.client.SizeValidator
 

T

toString() - Method in class com.google.gwt.validation.client.InvalidConstraint
 
toString() - Method in class com.google.gwt.validation.rebind.ValidationPackage
 

U

unrollConstraint(T, String, InvalidConstraint<X>) - Method in class com.google.gwt.validation.client.AbstractValidator
Turns an invalid constraint at a lower level to one at the proper higher level
unrollConstraintSet(T, String, Set<InvalidConstraint<X>>) - Method in class com.google.gwt.validation.client.AbstractValidator
Uses unrollConstraint to unroll an entire set and return them as a set of invalid constraints and return them as a set of the type that corresponds to this validator.

V

Valid - Annotation Type in com.google.gwt.validation.client
Marks that a given field or method needs to be validated on its own.
validate(T, String...) - Method in class com.google.gwt.validation.client.AbstractValidator
 
validate(T, String...) - Method in interface com.google.gwt.validation.client.interfaces.IValidator
validate all constraints on object
validateProperty(T, String, String...) - Method in class com.google.gwt.validation.client.AbstractValidator
 
validateProperty(T, String, ArrayList<String>) - Method in class com.google.gwt.validation.client.AbstractValidator
Validate the property like the interface but accept an array list instead of an array
validateProperty(T, String, String...) - Method in interface com.google.gwt.validation.client.interfaces.IValidator
validate all constraints on propertyName property of object
ValidationMetadataFactory - Class in com.google.gwt.validation.rebind
 
ValidationMetadataFactory() - Constructor for class com.google.gwt.validation.rebind.ValidationMetadataFactory
 
ValidationPackage - Class in com.google.gwt.validation.rebind
Rebind helper class that stores all the information about a method, field, and annotation set so that validation can either occur (as on the server) or so that validation code can be generated (as in the GWT compilation process).
ValidationPackage(IConstraint<Annotation>, String, Method, Field, String[], Map<String, String>) - Constructor for class com.google.gwt.validation.rebind.ValidationPackage
Create a validation package for the given constraint, with a message specified, for the method and field given that applies to the groups as specified, with the given property map for initilization of the constraint implementation.
ValidatorCreator - Class in com.google.gwt.validation.rebind
Class that creates the validator for the given input class
ValidatorCreator(TreeLogger, GeneratorContext, String) - Constructor for class com.google.gwt.validation.rebind.ValidatorCreator
Creates the generator from the parameters passed by the GWT compiler
ValidatorGenerator - Class in com.google.gwt.validation.rebind
Generates the classes needed to validate a type that is marked as validatable (com.google.gwt.validator.client.interfaces.IValidatable)
ValidatorGenerator() - Constructor for class com.google.gwt.validation.rebind.ValidatorGenerator
 

A B C E F G I L M N P R S T U V