com.anywherecommerce.android.sdk.util.validator
Class Validator
-
java.lang.Object
-
com.anywherecommerce.android.sdk.util.validator.Validator
-
public class <span class="typeNameLabel">Validator</span> extends java.lang.Object
Created by agupta on 2/20/16.
Field Summary
Modifier and TypeField and Description`
Constructor Summary
Constructor and Description`<span class="memberNameLink">
ValidatorType type)` ```
ValidatorType type,
java.lang.String validationErrorMessage,
java.lang.String customRegex,
java.lang.String customDateFormat,
Country postalCodeCountry)
```
Method Summary
Modifier and TypeMethod and Description`java.lang.Boolean``<span class="memberNameLink">
validate(java.lang.String inputText)`
Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Field Detail
baseValidator
`public
BaseValidator baseValidator`
Constructor Detail
Validator
```
public Validator(
ValidatorType type)
throws java.lang.Exception
`` Throws:
java.lang.Exception`
Validator
```
public Validator(
ValidatorType type,
java.lang.String validationErrorMessage,
java.lang.String customRegex,
java.lang.String customDateFormat,
Country postalCodeCountry)
throws java.lang.Exception
`` Throws:
java.lang.Exception`
Method Detail
validate
`public java.lang.Boolean validate(java.lang.String inputText)`