com.arsdigita.bebop.parameters
Class StringIsLettersOrDigitsValidationListener
java.lang.Object
com.arsdigita.bebop.parameters.GlobalizedParameterListener
com.arsdigita.bebop.parameters.StringIsLettersOrDigitsValidationListener
- All Implemented Interfaces:
- EventListener, Globalized, ParameterListener
- public class StringIsLettersOrDigitsValidationListener
- extends GlobalizedParameterListener
Verifies that the
parameter's value contains only letters and/or digits.
- Version:
- $Revision: #9 $ $Date: 2004/04/07 $
- Author:
- Dennis Gregorovic
Method Summary |
void |
validate(ParameterEvent e)
Performs a validation check on the data objects associated with a
specific parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
StringIsLettersOrDigitsValidationListener
public StringIsLettersOrDigitsValidationListener(String title)
StringIsLettersOrDigitsValidationListener
public StringIsLettersOrDigitsValidationListener()
StringIsLettersOrDigitsValidationListener
public StringIsLettersOrDigitsValidationListener(GlobalizedMessage error)
validate
public void validate(ParameterEvent e)
throws FormProcessException
- Description copied from interface:
ParameterListener
- Performs a validation check on the data objects associated with a
specific parameter. Validate should call
ParameterData.addError() with a message regarding the nature
of the error.
- Throws:
FormProcessException
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC