com.arsdigita.bebop.parameters
Class NotNullValidationListener

java.lang.Object
  extended bycom.arsdigita.bebop.parameters.GlobalizedParameterListener
      extended bycom.arsdigita.bebop.parameters.NotNullValidationListener
All Implemented Interfaces:
EventListener, Globalized, ParameterListener
Direct Known Subclasses:
PasswordValidationListener

public class NotNullValidationListener
extends GlobalizedParameterListener

Verifies that the parameter's value is not null.

Author:
Karl Goldstein, Uday Mathur, Stas Freidin, Rory Solomon

Field Summary
static NotNullValidationListener DEFAULT
           
static String versionId
           
 
Fields inherited from interface com.arsdigita.globalization.Globalized
DATE_DISPLAY_FORMAT, TIME_DISPLAY_FORMAT
 
Constructor Summary
NotNullValidationListener()
           
NotNullValidationListener(GlobalizedMessage error)
           
NotNullValidationListener(String title)
           
 
Method Summary
 void validate(ParameterEvent e)
          Performs a validation check on the data objects associated with a specific parameter.
 
Methods inherited from class com.arsdigita.bebop.parameters.GlobalizedParameterListener
getBundleBaseName, getError, setError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

DEFAULT

public static final NotNullValidationListener DEFAULT
Constructor Detail

NotNullValidationListener

public NotNullValidationListener(String title)

NotNullValidationListener

public NotNullValidationListener()

NotNullValidationListener

public NotNullValidationListener(GlobalizedMessage error)
Method Detail

validate

public void validate(ParameterEvent e)
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.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC