org.mentawai.rule
Class BooleanRule
java.lang.Object
org.mentawai.rule.BasicRule
org.mentawai.rule.BooleanRule
- All Implemented Interfaces:
- Rule
public class BooleanRule
- extends BasicRule
- Author:
- Sergio Oliveira Jr.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanRule
public BooleanRule()
getInstance
public static BooleanRule getInstance()
check
public boolean check(String value)
- Description copied from class:
BasicRule
- Check a single input value from this action.
Override this method to implement a basic rule for validation.
- Specified by:
check in class BasicRule
- Parameters:
value - The value to validate.
- Returns:
- true if the validation was successful.
Copyright © 2011. All Rights Reserved.