Package org.jeegen.jee6.util
Class BaseValidator
- java.lang.Object
-
- org.jeegen.jee6.util.BaseValidator
-
- All Implemented Interfaces:
ResourceBundleDefinitions
public abstract class BaseValidator extends Object implements ResourceBundleDefinitions
This class is an abstract class for validators.
-
-
Field Summary
-
Fields inherited from interface org.jeegen.jee6.util.ResourceBundleDefinitions
BUNDLE_ERRORS, BUNDLE_MESSAGES, BUNDLE_VERSION
-
-
Constructor Summary
Constructors Constructor Description BaseValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
validationError(javax.faces.context.FacesContext context, String key, Object... params)
This method throws a validation exception.
-
-
-
Method Detail
-
validationError
protected void validationError(javax.faces.context.FacesContext context, String key, Object... params)
This method throws a validation exception.- Parameters:
context
- TheFacesContext
.key
- The key of the error resource bundle.params
- Optional parameters needed to parameterize the error message.
-
-