ValidatorType

com.anywherecommerce.android.sdk.util.validator

Enum ValidatorType

  • java.lang.Object

  • java.lang.Enum<ValidatorType>
    com.anywherecommerce.android.sdk.util.validator.ValidatorType

  • All Implemented Interfaces:java.io.Serializable, java.lang.Comparable<ValidatorType>-

    public enum <span class="typeNameLabel">ValidatorType</span>
    extends java.lang.Enum<
    

ValidatorType>

Created by agupta on 2/20/16.



- 

<a name="enum.constant.summary"></a>

### Enum Constant Summary
    
    Enum Constant and Description`<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#ALPHA_NUMERIC">ALPHA_NUMERIC</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#CREDIT_CARD">CREDIT_CARD</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#DATE">DATE</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#EMAIL">EMAIL</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#EMPTY">EMPTY</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#NO_CHECK">NO_CHECK</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#NUMERIC">NUMERIC</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#PASSWORD">PASSWORD</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#PERSON_NAME">PERSON_NAME</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#PHONE">PHONE</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#POSTAL_CODE">POSTAL_CODE</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#REGEX">REGEX</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#SSN">SSN</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#USERNAME">USERNAME</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#WEB_URL">WEB_URL</a></span>`




<a name="method.summary"></a>

### Method Summary
    
    Modifier and TypeMethod and Description`static 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)`Returns the enum constant of this type with the specified name.
    
    `static 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a>[]``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html#values--">values</a></span>()`Returns an array containing the constants of this enum type, in the order they are declared.
    
    
    

<a name="methods.inherited.from.class.java.lang.Enum"></a>

### Methods inherited from class java.lang.Enum
          
          `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`
    
    
    

<a name="methods.inherited.from.class.java.lang.Object"></a>

### Methods inherited from class java.lang.Object
          
          `getClass, notify, notifyAll, wait, wait, wait`



- 

<a name="enum.constant.detail"></a>

### Enum Constant Detail
<a name="NO_CHECK"></a>
    

#### NO\_CHECK
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> NO_CHECK`
<a name="PHONE"></a>
    

#### PHONE
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> PHONE`
<a name="EMAIL"></a>
    

#### EMAIL
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> EMAIL`
<a name="POSTAL_CODE"></a>
    

#### POSTAL\_CODE
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> POSTAL_CODE`
<a name="DATE"></a>
    

#### DATE
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> DATE`
<a name="CREDIT_CARD"></a>
    

#### CREDIT\_CARD
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> CREDIT_CARD`
<a name="EMPTY"></a>
    

#### EMPTY
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> EMPTY`
<a name="NUMERIC"></a>
    

#### NUMERIC
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> NUMERIC`
<a name="WEB_URL"></a>
    

#### WEB\_URL
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> WEB_URL`
<a name="ALPHA_NUMERIC"></a>
    

#### ALPHA\_NUMERIC
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> ALPHA_NUMERIC`
<a name="PERSON_NAME"></a>
    

#### PERSON\_NAME
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> PERSON_NAME`
<a name="USERNAME"></a>
    

#### USERNAME
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> USERNAME`
<a name="PASSWORD"></a>
    

#### PASSWORD
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> PASSWORD`
<a name="SSN"></a>
    

#### SSN
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> SSN`
<a name="REGEX"></a>
    

#### REGEX
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> REGEX`




<a name="method.detail"></a>

### Method Detail
<a name="values--"></a>
    

#### values
          
          `public static 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a>[] values()`Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: ```
          
          for (ValidatorType c : ValidatorType.values())
              System.out.println(c);
          ```
          
          
          Returns:an array containing the constants of this enum type, in the order they are declared
<a name="valueOf-java.lang.String-"></a>
    

#### valueOf
          
          `public static 

<a href="#com/anywherecommerce/android/sdk/util/validator/ValidatorType.html" title="enum in com.anywherecommerce.android.sdk.util.validator">ValidatorType</a> valueOf(java.lang.String name)`Returns the enum constant of this type with the specified name. The string must match _exactly_ an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
          
          Parameters:`name` the name of the enum constant to be returned.Returns:the enum constant with the specified nameThrows:`java.lang.IllegalArgumentException` if this enum type has no constant with the specified name`java.lang.NullPointerException` if the argument is null