|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceid.saml20.adapter.gui.validation.impl.RequiredFieldValidator
public class RequiredFieldValidator
A FieldValidator that enforces that a GUI field has a value (a required field).
Constructor Summary | |
---|---|
RequiredFieldValidator()
|
Method Summary | |
---|---|
void |
validate(Field field)
If the value of the field is not null and not empty, this method returns silently. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequiredFieldValidator()
Method Detail |
---|
public void validate(Field field) throws ValidationException
validate
in interface FieldValidator
field
- the Field to validate.
ValidationException
- if the field value is null or empty (white space only).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |