BaseValidator

com.anywherecommerce.android.sdk.util.validator

Class BaseValidator

Field Summary

  Modifier and TypeField and Description`protected java.lang.String``<span class="memberNameLink">

errorMessage`

Constructor Summary

  Constructor and Description`<span class="memberNameLink">

BaseValidator(java.lang.String errMessage)`

Method Summary

  Modifier and TypeMethod and Description`java.lang.String``<span class="memberNameLink">

getErrorMessage() boolean``

hasErrorMessage() abstract boolean``

isValid(java.lang.String text)`

Methods inherited from class java.lang.Object

        `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

errorMessage

        `protected java.lang.String errorMessage`

Constructor Detail

BaseValidator

        `public BaseValidator(java.lang.String errMessage)`

Method Detail

isValid

        `public abstract boolean isValid(java.lang.String text)`

hasErrorMessage

        `public boolean hasErrorMessage()`

getErrorMessage

        `public java.lang.String getErrorMessage()`