com.perdues.db.typeHandlers
Class PhoneTypeHandler
java.lang.Object
|
+--com.perdues.db.typeHandlers.StringTypeHandler
|
+--com.perdues.db.typeHandlers.PhoneTypeHandler
- All Implemented Interfaces:
- DBTypeHandler
- public class PhoneTypeHandler
- extends StringTypeHandler
Type handler for "Phone" == generic phone number type. Format
is any mixture of ASCII digits, spaces, parens, dashes, and the
letter 'x' to indicate the beginning of an extension.
Method Summary |
void |
validate(ColumnInfo col,
Form form,
java.util.Hashtable errs)
Validate a generic phone number as by Validate.okPhone. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhoneTypeHandler
public PhoneTypeHandler()
validate
public void validate(ColumnInfo col,
Form form,
java.util.Hashtable errs)
- Validate a generic phone number as by Validate.okPhone.
- Overrides:
validate
in class StringTypeHandler