com.arsdigita.bebop.parameters
Class GlobalizedParameterListener

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

public abstract class GlobalizedParameterListener
extends Object
implements Globalized, ParameterListener

Abstract class to be extended by globalized parameters.

Version:
$Revision: #7 $ $Date: 2004/04/07 $

Field Summary
static String versionId
           
 
Fields inherited from interface com.arsdigita.globalization.Globalized
DATE_DISPLAY_FORMAT, TIME_DISPLAY_FORMAT
 
Constructor Summary
GlobalizedParameterListener()
           
 
Method Summary
 String getBundleBaseName()
           Return the base name of the target ResourceBundle.
protected  GlobalizedMessage getError()
           Get the error message for this parameter.
protected  void setError(GlobalizedMessage error)
           Set the error message for this parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.event.ParameterListener
validate
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

GlobalizedParameterListener

public GlobalizedParameterListener()
Method Detail

getBundleBaseName

public String getBundleBaseName()

Return the base name of the target ResourceBundle.

Returns:
String target ResourceBundle base name.

getError

protected GlobalizedMessage getError()

Get the error message for this parameter.

Returns:
GlobalizedMessage The error.

setError

protected void setError(GlobalizedMessage error)

Set the error message for this parameter.

Parameters:
error - The error message to use for this parameter.


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