// Path: core/src/main/java/com/fenlisproject/elf/core/validator/Rule.java
// public abstract class Rule {
// 
//     private String mValidationMessage;
// 
//     public Rule(String mValidationMessage) {
//         this.mValidationMessage = mValidationMessage;
//     }
// 
//     public abstract boolean validate(TextView view);
// 
//     public void apply(TextView view) {
//         if (view.getError() == null) {
//             view.setError(getValidationMessage());
//         } else {
//             String errorValue = view.getError().toString();
//             view.setError(errorValue + "\n" + getValidationMessage());
//         }
//     }
// 
//     public String getValidationMessage() {
//         return mValidationMessage;
//     }
// }


import android.widget.TextView;
import com.fenlisproject.elf.core.validator.Rule;
package com.fenlisproject.elf.core.validator.rule;



public class Required extends Rule {

    public Required(String message) {
        super(message);
    }

// Path: core/src/main/java/com/fenlisproject/elf/core/validator/Rule.java
// public abstract class Rule {
// 
//     private String mValidationMessage;
// 
//     public Rule(String mValidationMessage) {
//         this.mValidationMessage = mValidationMessage;
//     }
// 
//     public abstract boolean validate(TextView view);
// 
//     public void apply(TextView view) {
//         if (view.getError() == null) {
//             view.setError(getValidationMessage());
//         } else {
//             String errorValue = view.getError().toString();
//             view.setError(errorValue + "\n" + getValidationMessage());
//         }
//     }
// 
//     public String getValidationMessage() {
//         return mValidationMessage;
//     }
// }


// Path: core/src/main/java/com/fenlisproject/elf/core/validator/rule/Required.java
import android.widget.TextView;
import com.fenlisproject.elf.core.validator.Rule;

package com.fenlisproject.elf.core.validator.rule;



public class Required extends Rule {

    public Required(String message) {
        super(message);
    }

    @Override