org.mdanderson.biostat.util
public class NonWhitespaceValidator extends ValidationAdapter
Constructor and Description |
---|
NonWhitespaceValidator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
accepts(Object value)
Convenience function that determines whether the data is blank without
the caller having to have an instance of this class available.
|
boolean |
isValid(Object value)
Determines whether the data is blank or not.
|
addStatusListener, changedUpdate, insertUpdate, removeStatusListener, removeUpdate, validate
public boolean isValid(Object value)
isValid
in interface Validator
isValid
in class ValidationAdapter
value
- object with data to be checkedpublic static boolean accepts(Object value)
value
- data to be checkedisValid(java.lang.Object)
Copyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.