A C D E F G I L M N O P Q R S T U V Y 

A

AnnotationRule<RULE_ANNOTATION extends java.lang.annotation.Annotation,DATA_TYPE> - Class in com.mobsandgeeks.saripaar
Saripaar Annotations have an AnnotationRule paired to them, via the ValidateUsing annotation.
AnnotationRule(RULE_ANNOTATION) - Constructor for class com.mobsandgeeks.saripaar.AnnotationRule
Constructor.
AssertFalse - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
AssertFalseRule - Class in com.mobsandgeeks.saripaar.rule
 
AssertFalseRule(AssertFalse) - Constructor for class com.mobsandgeeks.saripaar.rule.AssertFalseRule
 
AssertTrue - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
AssertTrueRule - Class in com.mobsandgeeks.saripaar.rule
 
AssertTrueRule(AssertTrue) - Constructor for class com.mobsandgeeks.saripaar.rule.AssertTrueRule
 

C

cancelAsync() - Method in class com.mobsandgeeks.saripaar.Validator
Cancels a running asynchronous validation task.
CheckBoxBooleanAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter returns a Boolean value from a CheckBox.
CheckBoxBooleanAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.CheckBoxBooleanAdapter
 
Checked - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
CheckedRule - Class in com.mobsandgeeks.saripaar.rule
 
CheckedRule(Checked) - Constructor for class com.mobsandgeeks.saripaar.rule.CheckedRule
 
com.mobsandgeeks.saripaar - package com.mobsandgeeks.saripaar
 
com.mobsandgeeks.saripaar.adapter - package com.mobsandgeeks.saripaar.adapter
 
com.mobsandgeeks.saripaar.annotation - package com.mobsandgeeks.saripaar.annotation
 
com.mobsandgeeks.saripaar.exception - package com.mobsandgeeks.saripaar.exception
 
com.mobsandgeeks.saripaar.rule - package com.mobsandgeeks.saripaar.rule
 
ConfirmEmail - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
ConfirmEmailRule - Class in com.mobsandgeeks.saripaar.rule
 
ConfirmEmailRule(ValidationContext, ConfirmEmail) - Constructor for class com.mobsandgeeks.saripaar.rule.ConfirmEmailRule
 
ConfirmPassword - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
ConfirmPasswordRule - Class in com.mobsandgeeks.saripaar.rule
 
ConfirmPasswordRule(ValidationContext, ConfirmPassword) - Constructor for class com.mobsandgeeks.saripaar.rule.ConfirmPasswordRule
 
ContextualAnnotationRule<RULE_ANNOTATION extends java.lang.annotation.Annotation,DATA_TYPE> - Class in com.mobsandgeeks.saripaar
An AnnotationRule that has access to a ValidationContext.
ContextualAnnotationRule(ValidationContext, RULE_ANNOTATION) - Constructor for class com.mobsandgeeks.saripaar.ContextualAnnotationRule
Constructor.
ConversionException - Exception in com.mobsandgeeks.saripaar.exception
Thrown by ViewDataAdapters when an adapter is unable to convert the data retrieved from a View into the desired type.
ConversionException(String) - Constructor for exception com.mobsandgeeks.saripaar.exception.ConversionException
 
CreditCard - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
CreditCard.Type - Enum in com.mobsandgeeks.saripaar.annotation
 
CreditCardRule - Class in com.mobsandgeeks.saripaar.rule
 
CreditCardRule(CreditCard) - Constructor for class com.mobsandgeeks.saripaar.rule.CreditCardRule
 

D

DateFormats - Class in com.mobsandgeeks.saripaar
A collection of the most commonly used date format constants.
DecimalMax - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
DecimalMaxRule - Class in com.mobsandgeeks.saripaar.rule
 
DecimalMaxRule(DecimalMax) - Constructor for class com.mobsandgeeks.saripaar.rule.DecimalMaxRule
 
DecimalMin - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
DecimalMinRule - Class in com.mobsandgeeks.saripaar.rule
 
DecimalMinRule(DecimalMin) - Constructor for class com.mobsandgeeks.saripaar.rule.DecimalMinRule
 
DefaultViewValidatedAction - Class in com.mobsandgeeks.saripaar
A default implementation of the Validator.ViewValidatedAction that clears error messages on EditText views by calling the TextView.setError(CharSequence) with a null parameter.
DefaultViewValidatedAction() - Constructor for class com.mobsandgeeks.saripaar.DefaultViewValidatedAction
 
Digits - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
DigitsRule - Class in com.mobsandgeeks.saripaar.rule
 
DigitsRule(Digits) - Constructor for class com.mobsandgeeks.saripaar.rule.DigitsRule
 
DMY - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
DMY_TIME_12_HOURS - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
DMY_TIME_24_HOURS - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
Domain - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
DomainRule - Class in com.mobsandgeeks.saripaar.rule
 
DomainRule(Domain) - Constructor for class com.mobsandgeeks.saripaar.rule.DomainRule
 

E

Email - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
EmailRule - Class in com.mobsandgeeks.saripaar.rule
 
EmailRule(Email) - Constructor for class com.mobsandgeeks.saripaar.rule.EmailRule
 

F

Future - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
FutureRule - Class in com.mobsandgeeks.saripaar.rule
 
FutureRule(ValidationContext, Future) - Constructor for class com.mobsandgeeks.saripaar.rule.FutureRule
 

G

getAnnotatedViews(Class<? extends Annotation>) - Method in class com.mobsandgeeks.saripaar.ValidationContext
Retrieves all Views that are annotated with the specified annotation.
getCollatedErrorMessage(Context) - Method in class com.mobsandgeeks.saripaar.ValidationError
Extracts error messages from multiple failed rules and returns a String object.
getContext() - Method in class com.mobsandgeeks.saripaar.ValidationContext
Get a Context.
getData(CheckBox) - Method in class com.mobsandgeeks.saripaar.adapter.CheckBoxBooleanAdapter
 
getData(RadioButton) - Method in class com.mobsandgeeks.saripaar.adapter.RadioButtonBooleanAdapter
 
getData(RadioGroup) - Method in class com.mobsandgeeks.saripaar.adapter.RadioGroupBooleanAdapter
 
getData(Spinner) - Method in class com.mobsandgeeks.saripaar.adapter.SpinnerIndexAdapter
 
getData(TextView) - Method in class com.mobsandgeeks.saripaar.adapter.TextViewDoubleAdapter
 
getData(TextView) - Method in class com.mobsandgeeks.saripaar.adapter.TextViewFloatAdapter
 
getData(TextView) - Method in class com.mobsandgeeks.saripaar.adapter.TextViewIntegerAdapter
 
getData(TextView) - Method in class com.mobsandgeeks.saripaar.adapter.TextViewStringAdapter
 
getData(VIEW) - Method in interface com.mobsandgeeks.saripaar.adapter.ViewDataAdapter
Extract and return the appropriate data from a given View.
getData(View, Class<? extends Annotation>) - Method in class com.mobsandgeeks.saripaar.ValidationContext
Retrieves the data from the given View using the appropriate ViewDataAdapter.
getFailedRules() - Method in class com.mobsandgeeks.saripaar.ValidationError
Gets the failed Rules.
getMessage(Context) - Method in class com.mobsandgeeks.saripaar.AnnotationRule
Returns a failure message associated with the rule.
getMessage(Context) - Method in class com.mobsandgeeks.saripaar.Rule
Returns a failure message associated with the rule.
getSequence() - Method in class com.mobsandgeeks.saripaar.Rule
Returns the sequence of the Rule.
getValidationMode() - Method in class com.mobsandgeeks.saripaar.Validator
Gets the current Validator.Mode.
getView() - Method in class com.mobsandgeeks.saripaar.ValidationError
Gets the failed View.

I

IpAddress - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
IpAddressRule - Class in com.mobsandgeeks.saripaar.rule
 
IpAddressRule(IpAddress) - Constructor for class com.mobsandgeeks.saripaar.rule.IpAddressRule
 
Isbn - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
IsbnRule - Class in com.mobsandgeeks.saripaar.rule
 
IsbnRule(Isbn) - Constructor for class com.mobsandgeeks.saripaar.rule.IsbnRule
 
isValid(VIEW) - Method in class com.mobsandgeeks.saripaar.QuickRule
Checks if the rule is valid.
isValid(Boolean) - Method in class com.mobsandgeeks.saripaar.rule.AssertFalseRule
 
isValid(Boolean) - Method in class com.mobsandgeeks.saripaar.rule.AssertTrueRule
 
isValid(Boolean) - Method in class com.mobsandgeeks.saripaar.rule.CheckedRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.ConfirmEmailRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.ConfirmPasswordRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.CreditCardRule
 
isValid(Double) - Method in class com.mobsandgeeks.saripaar.rule.DecimalMaxRule
 
isValid(Double) - Method in class com.mobsandgeeks.saripaar.rule.DecimalMinRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.DigitsRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.DomainRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.EmailRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.FutureRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.IpAddressRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.IsbnRule
 
isValid(VALIDATABLE) - Method in class com.mobsandgeeks.saripaar.Rule
Checks if the rule is valid.
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.LengthRule
 
isValid(Integer) - Method in class com.mobsandgeeks.saripaar.rule.MaxRule
 
isValid(Integer) - Method in class com.mobsandgeeks.saripaar.rule.MinRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.NotEmptyRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.PasswordRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.PastRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.PatternRule
 
isValid(Integer) - Method in class com.mobsandgeeks.saripaar.rule.SelectRule
 
isValid(String) - Method in class com.mobsandgeeks.saripaar.rule.UrlRule
 
isValidating() - Method in class com.mobsandgeeks.saripaar.Validator
Used to find if an asynchronous validation task is running.

L

Length - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
LengthRule - Class in com.mobsandgeeks.saripaar.rule
 
LengthRule(Length) - Constructor for class com.mobsandgeeks.saripaar.rule.LengthRule
 

M

Max - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
MaxRule - Class in com.mobsandgeeks.saripaar.rule
 
MaxRule(Max) - Constructor for class com.mobsandgeeks.saripaar.rule.MaxRule
 
MDY - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
MDY_TIME_12_HOURS - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
MDY_TIME_24_HOURS - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
Min - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
MinRule - Class in com.mobsandgeeks.saripaar.rule
 
MinRule(Min) - Constructor for class com.mobsandgeeks.saripaar.rule.MinRule
 
mRuleAnnotation - Variable in class com.mobsandgeeks.saripaar.AnnotationRule
 
mSequence - Variable in class com.mobsandgeeks.saripaar.Rule
 
mValidationContext - Variable in class com.mobsandgeeks.saripaar.ContextualAnnotationRule
 

N

NotEmpty - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
NotEmptyRule - Class in com.mobsandgeeks.saripaar.rule
 
NotEmptyRule(ValidationContext, NotEmpty) - Constructor for class com.mobsandgeeks.saripaar.rule.NotEmptyRule
 

O

onAllRulesPassed(View) - Method in class com.mobsandgeeks.saripaar.DefaultViewValidatedAction
 
onAllRulesPassed(View) - Method in interface com.mobsandgeeks.saripaar.Validator.ViewValidatedAction
Called when all rules associated with the View passes.
onValidationFailed(List<ValidationError>) - Method in interface com.mobsandgeeks.saripaar.Validator.ValidationListener
Called when one or several Rules fail.
onValidationSucceeded() - Method in interface com.mobsandgeeks.saripaar.Validator.ValidationListener
Called when all Rules pass.
Optional - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
Or - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
Order - Annotation Type in com.mobsandgeeks.saripaar.annotation
 

P

Password - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
Password.Scheme - Enum in com.mobsandgeeks.saripaar.annotation
 
PasswordRule - Class in com.mobsandgeeks.saripaar.rule
 
PasswordRule(Password) - Constructor for class com.mobsandgeeks.saripaar.rule.PasswordRule
 
Past - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
PastRule - Class in com.mobsandgeeks.saripaar.rule
 
PastRule(ValidationContext, Past) - Constructor for class com.mobsandgeeks.saripaar.rule.PastRule
 
Pattern - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
PatternRule - Class in com.mobsandgeeks.saripaar.rule
 
PatternRule(Pattern) - Constructor for class com.mobsandgeeks.saripaar.rule.PatternRule
 
put(VIEW, QuickRule<VIEW>...) - Method in class com.mobsandgeeks.saripaar.Validator
Add one or more QuickRules for a View.

Q

QuickRule<VIEW extends android.view.View> - Class in com.mobsandgeeks.saripaar
Unlike AnnotationRules, QuickRules can exist without Annotations.
QuickRule() - Constructor for class com.mobsandgeeks.saripaar.QuickRule
Default constructor.
QuickRule(int) - Constructor for class com.mobsandgeeks.saripaar.QuickRule
Constructor.

R

RadioButtonBooleanAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter that returns a Boolean value from a RadioButton.
RadioButtonBooleanAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.RadioButtonBooleanAdapter
 
RadioGroupBooleanAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter that returns a Boolean value from a RadioGroup.
RadioGroupBooleanAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.RadioGroupBooleanAdapter
 
registerAdapter(Class<VIEW>, ViewDataAdapter<VIEW, DATA_TYPE>) - Method in class com.mobsandgeeks.saripaar.Validator
Registers a ViewDataAdapter for the given View.
registerAnnotation(Class<? extends Annotation>) - Static method in class com.mobsandgeeks.saripaar.Validator
A convenience method for registering Rule annotations that act on TextView and it's children, the most notable one being EditText.
registerAnnotation(Class<? extends Annotation>, Class<VIEW>, ViewDataAdapter<VIEW, ?>) - Static method in class com.mobsandgeeks.saripaar.Validator
An elaborate method for registering custom rule annotations.
removeRules(View) - Method in class com.mobsandgeeks.saripaar.Validator
Remove all Rules for the given View.
Rule<VALIDATABLE> - Class in com.mobsandgeeks.saripaar
This is a base interface for AnnotationRule and QuickRule.
Rule(int) - Constructor for class com.mobsandgeeks.saripaar.Rule
Constructor.

S

SaripaarViolationException - Exception in com.mobsandgeeks.saripaar.exception
Thrown when the developer does not adhere to framework requirements when extending Saripaar's functionality.
SaripaarViolationException(String) - Constructor for exception com.mobsandgeeks.saripaar.exception.SaripaarViolationException
 
Select - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
SelectRule - Class in com.mobsandgeeks.saripaar.rule
 
SelectRule(Select) - Constructor for class com.mobsandgeeks.saripaar.rule.SelectRule
 
setValidationListener(Validator.ValidationListener) - Method in class com.mobsandgeeks.saripaar.Validator
setValidationMode(Validator.Mode) - Method in class com.mobsandgeeks.saripaar.Validator
Set the validation Validator.Mode for the current Validator instance.
setViewValidatedAction(Validator.ViewValidatedAction) - Method in class com.mobsandgeeks.saripaar.Validator
SpinnerIndexAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter that returns the current selection index from a Spinner using the AdapterView.getSelectedItemPosition() method.
SpinnerIndexAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.SpinnerIndexAdapter
 

T

TextViewDoubleAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter parses and returns a Double from TextViews or its subclasses like EditTexts.
TextViewDoubleAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.TextViewDoubleAdapter
 
TextViewFloatAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter returns a Float from TextViews or its subclasses like EditTexts.
TextViewFloatAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.TextViewFloatAdapter
 
TextViewIntegerAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter parses and returns an Integer from TextViews or its subclasses like EditTexts.
TextViewIntegerAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.TextViewIntegerAdapter
 
TextViewStringAdapter - Class in com.mobsandgeeks.saripaar.adapter
Adapter returns a String from TextViews or its subclasses, usually EditTexts.
TextViewStringAdapter() - Constructor for class com.mobsandgeeks.saripaar.adapter.TextViewStringAdapter
 
toString() - Method in class com.mobsandgeeks.saripaar.ValidationError

U

Url - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
UrlRule - Class in com.mobsandgeeks.saripaar.rule
 
UrlRule(Url) - Constructor for class com.mobsandgeeks.saripaar.rule.UrlRule
 

V

validate() - Method in class com.mobsandgeeks.saripaar.Validator
Validates all Views with Rules.
validate(boolean) - Method in class com.mobsandgeeks.saripaar.Validator
Validates all Views with Rules.
validateBefore(View) - Method in class com.mobsandgeeks.saripaar.Validator
Validates all Views before the specified View parameter.
validateBefore(View, boolean) - Method in class com.mobsandgeeks.saripaar.Validator
Validates all Views before the specified View parameter.
validateTill(View) - Method in class com.mobsandgeeks.saripaar.Validator
Validates all Views till the specified View parameter.
validateTill(View, boolean) - Method in class com.mobsandgeeks.saripaar.Validator
Validates all Views till the specified View parameter.
ValidateUsing - Annotation Type in com.mobsandgeeks.saripaar.annotation
 
ValidationContext - Class in com.mobsandgeeks.saripaar
Grants access to information about other Views in the controller object.
ValidationError - Class in com.mobsandgeeks.saripaar
Contains a failed View and the corresponding Rule.
Validator - Class in com.mobsandgeeks.saripaar
The Validator takes care of validating the Views in the given controller instance.
Validator(Object) - Constructor for class com.mobsandgeeks.saripaar.Validator
Constructor.
Validator.Mode - Enum in com.mobsandgeeks.saripaar
Validation mode.
Validator.ValidationListener - Interface in com.mobsandgeeks.saripaar
Listener with callback methods that notifies the outcome of validation.
Validator.ViewValidatedAction - Interface in com.mobsandgeeks.saripaar
Interface that provides a callback when all Rules associated with a View passes.
valueOf(String) - Static method in enum com.mobsandgeeks.saripaar.annotation.CreditCard.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.mobsandgeeks.saripaar.annotation.Password.Scheme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.mobsandgeeks.saripaar.Validator.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mobsandgeeks.saripaar.annotation.CreditCard.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.mobsandgeeks.saripaar.annotation.Password.Scheme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.mobsandgeeks.saripaar.Validator.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
ViewDataAdapter<VIEW extends android.view.View,DATA> - Interface in com.mobsandgeeks.saripaar.adapter
ViewDataAdapters are used to extract data from Views.

Y

YMD - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
YMD_TIME_12_HOURS - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
YMD_TIME_24_HOURS - Static variable in class com.mobsandgeeks.saripaar.DateFormats
 
A C D E F G I L M N O P Q R S T U V Y