com.arsdigita.cms.ui.authoring
Class NameValidationListener
java.lang.Object
com.arsdigita.cms.ui.authoring.NameValidationListener
- All Implemented Interfaces:
- EventListener, com.arsdigita.bebop.event.ParameterListener
- public class NameValidationListener
- extends Object
- implements com.arsdigita.bebop.event.ParameterListener
Verifies that the parameter is a valid filename, is not null, and
contains no reserved characters.
- Version:
- $Id: //cms/dev/src/com/arsdigita/cms/ui/authoring/NameValidationListener.java#7 $
- Author:
- Justin Ross <jross@redhat.com>
Method Summary |
void |
validate(com.arsdigita.bebop.event.ParameterEvent e)
|
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
label
protected String label
NameValidationListener
public NameValidationListener(String label)
- Constructs a new
NameValidationListener
.
- Parameters:
label
- the label for the error message
NameValidationListener
public NameValidationListener()
- Constructs a new
NameValidationListener
.
validate
public void validate(com.arsdigita.bebop.event.ParameterEvent e)
- Specified by:
validate
in interface com.arsdigita.bebop.event.ParameterListener
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC