A C D E F G H I L M O R S V W

A

AbstractConverter - Class in org.apache.shale.validator.converter
Abstract base class for converters that use Apache Commons Validator as their foundation.
AbstractConverter() - Constructor for class org.apache.shale.validator.converter.AbstractConverter
 
AbstractUtilities - Class in org.apache.shale.validator.util
Abstract base class for converters and validators that use Apache Commons Validator as their foundation.
AbstractUtilities() - Constructor for class org.apache.shale.validator.util.AbstractUtilities
 
AbstractValidator - Class in org.apache.shale.validator.validator
Abstract base class for validators that use Apache Commons Validator as their foundation.
AbstractValidator() - Constructor for class org.apache.shale.validator.validator.AbstractValidator
 
actions(FacesContext, String) - Method in class org.apache.shale.validator.validator.AbstractValidator
Return an array of ShaleValidatorActions to execute for a given validation, starting with the configured dependent actions, and ending with the action corresponding to the specified action type.
addParam(String, String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Adds a parameter to pass to the Commons Validator that will be used.
addRenderer(String, String, Renderer) - Method in class org.apache.shale.validator.faces.ValidatorRenderKit
ARG_VALUE - Static variable in class org.apache.shale.validator.validator.AbstractValidator
Variable name in a vars map representing the argument that was being evaluated, and should be included in any error message.

C

calculateLocale(FacesContext) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler
calculateRenderKitId(FacesContext) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler
CommonsValidator - Class in org.apache.shale.validator
This is a JavaServer Faces Validator that uses Jakarta Commons Validator to perform validation, either on the client side, the server side, or both.
CommonsValidator() - Constructor for class org.apache.shale.validator.CommonsValidator
 
contextDestroyed(ServletContextEvent) - Method in class org.apache.shale.validator.faces.ValidatorLifecycleListener
Process an application shutdown event.
contextInitialized(ServletContextEvent) - Method in class org.apache.shale.validator.faces.ValidatorLifecycleListener
Process an application startup event.
convert(FacesContext, Object, Class) - Method in class org.apache.shale.validator.validator.AbstractValidator
Use the registered converters to convert the specified value to the specified type.
convertClientId(FacesContext, String) - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
convertClientId(FacesContext, String) - Method in class org.apache.shale.validator.faces.ValidatorInputRenderer
createConverter() - Method in class org.apache.shale.validator.tag.IntegerConverterTag
Create and return a new Converter instance to be registered on our corresponding UIComponent.
createResponseStream(OutputStream) - Method in class org.apache.shale.validator.faces.ValidatorRenderKit
createResponseWriter(Writer, String, String) - Method in class org.apache.shale.validator.faces.ValidatorRenderKit
createValidator() - Method in class org.apache.shale.validator.faces.ValidatorTag
Create a validator by calling super.createValidator().
createValidator() - Method in class org.apache.shale.validator.tag.IntegerValidatorTag
Create and return a new Validator instance to be registered on our corresponding UIComponent.
createView(FacesContext, String) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler
After delegating to our original ViewHandler, ensure that our decorator RenderKit has been initialized.

D

DATE_PATTERN_STRICT_VARNAME - Static variable in class org.apache.shale.validator.CommonsValidator
Name of the datePatternStrict in the vars Map.
decode(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
decode(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorInputRenderer
DEFAULT_RESOURCE_BUNDLE - Static variable in class org.apache.shale.validator.util.AbstractUtilities
Name of the resource bundle containing default message strings.
DEFAULT_VALIDATOR_RULES - Static variable in class org.apache.shale.validator.Globals
Location of the default Validator configuration file.
doEndTag() - Method in class org.apache.shale.validator.faces.ValidatorTag
Executes the code that was skipped in the doStartTag() override.
doEndTag() - Method in class org.apache.shale.validator.faces.ValidatorVarTag
Pass the validation parameter to the commonsValidatorTag that immediately surrounds this tag.
doStartTag() - Method in class org.apache.shale.validator.faces.ValidatorTag
Overridden to prevent the call to ValidatorTag.createValidator() from occurring here.
DoubleConverter - Class in org.apache.shale.validator.converter
JavaServer Faces Converter for Double (and int) instances.
DoubleConverter() - Constructor for class org.apache.shale.validator.converter.DoubleConverter
 
DoubleValidator - Class in org.apache.shale.validator.validator
Validator implementation that will perform both format and (optional) range checks on a Double value.
DoubleValidator() - Constructor for class org.apache.shale.validator.validator.DoubleValidator
 

E

encode(FacesContext, UIComponent, int) - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
Interrogates the component's immediate property and the component's immediate override attribute to determine if client side validation is invoked.
encodeBegin(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
Invokes the encode method passing ENCODE_BEGIN for the encodeSwitch parameter.
encodeBegin(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorInputRenderer
This override captures the clientId of the target component before passing on to the original renderer.
encodeBegin(FacesContext) - Method in class org.apache.shale.validator.faces.ValidatorScript
Begin encoding for this component.
encodeChildren(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
Invokes the encode method passing ENCODE_CHILDREN for the encodeSwitch parameter.
encodeChildren(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorInputRenderer
encodeEnd(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
Invokes the encode method passing ENCODE_END for the encodeSwitch parameter.
encodeEnd(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorInputRenderer

F

findForm(FacesContext, UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorScript
Traverses up the tree looking for the owning form.
FloatConverter - Class in org.apache.shale.validator.converter
JavaServer Faces Converter for Float (and int) instances.
FloatConverter() - Constructor for class org.apache.shale.validator.converter.FloatConverter
 
FloatValidator - Class in org.apache.shale.validator.validator
Validator implementation that will perform both format and (optional) range checks on a Float value.
FloatValidator() - Constructor for class org.apache.shale.validator.validator.FloatValidator
 

G

getAction() - Method in class org.apache.shale.validator.util.ShaleValidatorAction
Return the ValidatorAction instance we are wrapping.
getActionURL(FacesContext, String) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler
getArgs(String, String) - Static method in class org.apache.shale.validator.CommonsValidator
Returns validator Arg beans from the configuration file.
getAsObject(FacesContext, UIComponent, String) - Method in class org.apache.shale.validator.converter.AbstractConverter
Convert the specified string value, associated with the specified UIComponent, into a corresponding model data object.
getAsObject(FacesContext, UIComponent, String) - Method in class org.apache.shale.validator.converter.DoubleConverter

Convert the specified string value, associated with the specified UIComponent, into a corresponding model data object.

getAsObject(FacesContext, UIComponent, String) - Method in class org.apache.shale.validator.converter.FloatConverter

Convert the specified string value, associated with the specified UIComponent, into a corresponding model data object.

getAsObject(FacesContext, UIComponent, String) - Method in class org.apache.shale.validator.converter.IntegerConverter

Convert the specified string value, associated with the specified UIComponent, into a corresponding model data object.

getAsObject(FacesContext, UIComponent, String) - Method in class org.apache.shale.validator.converter.LongConverter

Convert the specified string value, associated with the specified UIComponent, into a corresponding model data object.

getAsObject(FacesContext, UIComponent, String) - Method in class org.apache.shale.validator.converter.ShortConverter

Convert the specified string value, associated with the specified UIComponent, into a corresponding model data object.

getAsString(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.converter.AbstractConverter
Convert the specified model data object, associated with the specified UIComponent, into a string suitable for rendering.
getAsString(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.converter.DoubleConverter

Convert the specified model data object, associated with the specified UIComponent, into a string suitable for rendering.

getAsString(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.converter.FloatConverter

Convert the specified model data object, associated with the specified UIComponent, into a string suitable for rendering.

getAsString(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.converter.IntegerConverter

Convert the specified model data object, associated with the specified UIComponent, into a string suitable for rendering.

getAsString(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.converter.LongConverter

Convert the specified model data object, associated with the specified UIComponent, into a string suitable for rendering.

getAsString(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.converter.ShortConverter

Convert the specified model data object, associated with the specified UIComponent, into a string suitable for rendering.

getClient() - Method in class org.apache.shale.validator.CommonsValidator
The getter method for the client property.
getComponentType() - Method in class org.apache.shale.validator.faces.ValidatorScriptTag
 
getConvertedValue(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
getConvertedValue(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.faces.ValidatorInputRenderer
getDependencies(String) - Method in class org.apache.shale.validator.CommonsValidator
For a given commons validator rule, returns an array of rule names that are dependent of the name.
getErrorMessage(FacesContext, ValidatorAction, Map) - Method in class org.apache.shale.validator.CommonsValidator
Retrieves an error message, using the validator's message combined with the errant value.
getFamily() - Method in class org.apache.shale.validator.faces.ValidatorScript
Returns the component's family.
getFormName() - Method in class org.apache.shale.validator.CommonsValidator
Returns the parent's form name.
getFunctionName() - Method in class org.apache.shale.validator.faces.ValidatorScript
Return the value of the functionName property.
getInstance() - Method in class org.apache.shale.validator.util.ShaleValidatorAction
Return an instance of the requested validator class, if the requested validation method is not static.
getJsCallbackMnemonic(String) - Static method in class org.apache.shale.validator.CommonsValidator
Returns a mnemonic used to build the commons validator javascript call back.
getLocale() - Method in class org.apache.shale.validator.converter.DoubleConverter
Return the Locale to apply to this conversion, or null to use the Locale for the current view.
getLocale() - Method in class org.apache.shale.validator.converter.FloatConverter
Return the Locale to apply to this conversion, or null to use the Locale for the current view.
getLocale() - Method in class org.apache.shale.validator.converter.IntegerConverter
Return the Locale to apply to this conversion, or null to use the Locale for the current view.
getLocale() - Method in class org.apache.shale.validator.converter.LongConverter
Return the Locale to apply to this conversion, or null to use the Locale for the current view.
getLocale() - Method in class org.apache.shale.validator.converter.ShortConverter
Return the Locale to apply to this conversion, or null to use the Locale for the current view.
getMaximum() - Method in class org.apache.shale.validator.validator.DoubleValidator
Return the configured maximum value for this validator.
getMaximum() - Method in class org.apache.shale.validator.validator.FloatValidator
Return the configured maximum value for this validator.
getMaximum() - Method in class org.apache.shale.validator.validator.IntegerValidator
Return the configured maximum value for this validator.
getMaximum() - Method in class org.apache.shale.validator.validator.LongValidator
Return the configured maximum value for this validator.
getMaximum() - Method in class org.apache.shale.validator.validator.ShortValidator
Return the configured maximum value for this validator.
getMessage() - Method in class org.apache.shale.validator.CommonsValidator
The getter method for the message property.
getMessage() - Method in class org.apache.shale.validator.util.AbstractUtilities
Return the custom error message template for this converter or validator, if any.
getMessageArgs(String, Map) - Method in class org.apache.shale.validator.CommonsValidator
Returns an array of values for message parameter replacement arguments.
getMessageArgs() - Method in class org.apache.shale.validator.util.ShaleValidatorAction
Return an array of argument metadata describing subtitution values for error messages emitted by this validator type.
getMessageKey() - Method in class org.apache.shale.validator.util.ShaleValidatorAction
Return the lookup key for the error message template to be used if this validation fails.
getMethod() - Method in class org.apache.shale.validator.util.ShaleValidatorAction
Return the validation Method to be called for this action.
getMethodParamNames(String) - Method in class org.apache.shale.validator.CommonsValidator
Returns an array of parameter names in the target validator's method.
getMinimum() - Method in class org.apache.shale.validator.validator.DoubleValidator
Return the configured minimum value for this validator.
getMinimum() - Method in class org.apache.shale.validator.validator.FloatValidator
Return the configured minimum value for this validator.
getMinimum() - Method in class org.apache.shale.validator.validator.IntegerValidator
Return the configured minimum value for this validator.
getMinimum() - Method in class org.apache.shale.validator.validator.LongValidator
Return the configured minimum value for this validator.
getMinimum() - Method in class org.apache.shale.validator.validator.ShortValidator
Return the configured minimum value for this validator.
getParameterArgs() - Method in class org.apache.shale.validator.util.ShaleValidatorAction
Return an array of argument metadata describing the parameter values to be sent to the validation method for this validator type.
getPattern() - Method in class org.apache.shale.validator.converter.DoubleConverter
Return the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
getPattern() - Method in class org.apache.shale.validator.converter.FloatConverter
Return the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
getPattern() - Method in class org.apache.shale.validator.converter.IntegerConverter
Return the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
getPattern() - Method in class org.apache.shale.validator.converter.LongConverter
Return the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
getPattern() - Method in class org.apache.shale.validator.converter.ShortConverter
Return the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
getRenderer(String, String) - Method in class org.apache.shale.validator.faces.ValidatorRenderKit
If the component family is not "javax.faces.Command" or "javax.faces.Input", the defaultRenderKit handles the request.
getRendererType() - Method in class org.apache.shale.validator.faces.ValidatorScript
The component renders itself; therefore, this method returns null.
getRendererType() - Method in class org.apache.shale.validator.faces.ValidatorScriptTag
 
getRendersChildren() - Method in class org.apache.shale.validator.faces.ValidatorCommandRenderer
getRendersChildren() - Method in class org.apache.shale.validator.faces.ValidatorInputRenderer
getResourceURL(FacesContext, String) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler
getResponseStateManager() - Method in class org.apache.shale.validator.faces.ValidatorRenderKit
getServer() - Method in class org.apache.shale.validator.CommonsValidator
The getter method for the server property.
getSignature() - Method in class org.apache.shale.validator.util.ShaleValidatorAction
Return the parameter signature for the validation method to be called for this action.
getType() - Method in class org.apache.shale.validator.CommonsValidator
The getter method for the type property.
getValidatorAction(String) - Static method in class org.apache.shale.validator.CommonsValidator
Returns the Commons validator action that's appropriate for the validator with the given name.
getValidatorAction() - Method in class org.apache.shale.validator.CommonsValidator
Returns the commons validator action associated with the type attribute.
getVars() - Method in class org.apache.shale.validator.CommonsValidator
Returns a Map of variables that can be passed to a commons validator method or used to create a parameterized error message.
getVarType(String) - Method in class org.apache.shale.validator.CommonsValidator
Returns the JavaScript type for a var collection item.
Globals - Class in org.apache.shale.validator
Manifest constants that are global to the Validator Integration implementation.
Globals() - Constructor for class org.apache.shale.validator.Globals
 

H

helper - Static variable in class org.apache.shale.validator.validator.AbstractValidator
Converter helper instance we can use in the convert() method implementation.

I

IntegerConverter - Class in org.apache.shale.validator.converter
JavaServer Faces Converter for Integer (and int) instances.
IntegerConverter() - Constructor for class org.apache.shale.validator.converter.IntegerConverter
 
IntegerConverterTag - Class in org.apache.shale.validator.tag
JSP custom action for IntegerConverter.
IntegerConverterTag() - Constructor for class org.apache.shale.validator.tag.IntegerConverterTag
 
IntegerValidator - Class in org.apache.shale.validator.validator
Validator implementation that will perform both format and (optional) range checks on an integer value.
IntegerValidator() - Constructor for class org.apache.shale.validator.validator.IntegerValidator
 
IntegerValidatorTag - Class in org.apache.shale.validator.tag
JSP custom action for IntegerValidator.
IntegerValidatorTag() - Constructor for class org.apache.shale.validator.tag.IntegerValidatorTag
 
isClient() - Method in class org.apache.shale.validator.validator.AbstractValidator
Return a flag describing whether this validator should be enforced on the client side or not.
isDate(String, String) - Static method in class org.apache.shale.validator.CommonsValidator
A utility method that returns true if the supplied string represents a date.
isSupplied(String) - Static method in class org.apache.shale.validator.CommonsValidator
A utility method that returns true if the supplied string has a length greater than zero.
isTransient() - Method in class org.apache.shale.validator.util.AbstractUtilities

L

loadMethodParamClasses(ValidatorAction) - Method in class org.apache.shale.validator.CommonsValidator
Returns an array of class types corresponding to the the target validation rules method signature.
loadMethodParamValues(FacesContext, ValidatorAction, Class[]) - Method in class org.apache.shale.validator.CommonsValidator
Loads an array of method parameter values corresponding to the formal parameter of the target validator's method.
loadValidatorClass(ValidatorAction) - Method in class org.apache.shale.validator.CommonsValidator
Loads the commons validator class containing the target rule.
loadValidatorMethod(ValidatorAction, Class, Class[]) - Method in class org.apache.shale.validator.CommonsValidator
Loads the Method of the validatorClass having using definitions from the validatorAction bean.
LongConverter - Class in org.apache.shale.validator.converter
JavaServer Faces Converter for Long (and int) instances.
LongConverter() - Constructor for class org.apache.shale.validator.converter.LongConverter
 
LongValidator - Class in org.apache.shale.validator.validator
Validator implementation that will perform both format and (optional) range checks on a Long value.
LongValidator() - Constructor for class org.apache.shale.validator.validator.LongValidator
 

M

MASK_VARNAME - Static variable in class org.apache.shale.validator.CommonsValidator
Name of the mask property in the vars Map.
MAX_LENGTH_VARNAME - Static variable in class org.apache.shale.validator.CommonsValidator
Name of the maxLength property in the vars Map.
MAX_VARNAME - Static variable in class org.apache.shale.validator.CommonsValidator
Name of the max property in the vars Map.
MAXIMUM_VALUE - Static variable in class org.apache.shale.validator.validator.AbstractValidator
Variable name in a vars map representing the maximum value that should be accepted by this Validator.
message(FacesContext, String) - Method in class org.apache.shale.validator.util.AbstractUtilities
Return a locale-sensitive message for this converter or validator.
message(FacesContext, String, Object[]) - Method in class org.apache.shale.validator.util.AbstractUtilities
Retrieve a locale-specific message for the specified key, then treat it as a message format pattern, and substitute in the specified parameter values and return the resulting string.
message(Locale, String, Object[]) - Method in class org.apache.shale.validator.util.AbstractUtilities
Use the specified message as a message format pattern, substitute in the specified parameter values, and return the resulting string.
MIN_LENGTH_VARNAME - Static variable in class org.apache.shale.validator.CommonsValidator
Name of the minLength property in the vars Map.
MIN_VARNAME - Static variable in class org.apache.shale.validator.CommonsValidator
Name of the min property in the vars Map.
MINIMUM_VALUE - Static variable in class org.apache.shale.validator.validator.AbstractValidator
Variable name in a vars map representing the minimum value that should be accepted by this Validator.

O

org.apache.shale.validator - package org.apache.shale.validator
This package contains a JSF validator that uses the Apache Commons Validator API to perform both client- and server-side validation.
org.apache.shale.validator.converter - package org.apache.shale.validator.converter
This package contains a set of JSF converters that use the Apache Commons Validator API to perform both feature rich parsing and formatting of internal objects.
org.apache.shale.validator.faces - package org.apache.shale.validator.faces
 
org.apache.shale.validator.tag - package org.apache.shale.validator.tag
 
org.apache.shale.validator.util - package org.apache.shale.validator.util
 
org.apache.shale.validator.validator - package org.apache.shale.validator.validator
This package contains a set of JSF validators that use the Apache Commons Validator API to perform both client- and server-side validation.
OVERRIDE_IMMEDIATE - Static variable in class org.apache.shale.validator.faces.ValidatorCommandRenderer
Attribute name used to override the default behavior of how the immediate attribute effects the execution of client side javascript validation.

R

release() - Method in class org.apache.shale.validator.faces.ValidatorScriptTag
Sets the functionName property to null.
release() - Method in class org.apache.shale.validator.faces.ValidatorTag
Sets all instance objects representing tag attribute values to null.
release() - Method in class org.apache.shale.validator.tag.IntegerConverterTag
Release resources allocated for this instance.
release() - Method in class org.apache.shale.validator.tag.IntegerValidatorTag
Release resources allocated for this instance.
renderView(FacesContext, UIViewRoot) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler
resources(FacesContext) - Method in class org.apache.shale.validator.validator.AbstractValidator
Return the ValidatorResources that describe the validation rules to be enforced by this application.
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.converter.DoubleConverter
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.converter.FloatConverter
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.converter.IntegerConverter
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.converter.LongConverter
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.converter.ShortConverter
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.faces.ValidatorScript
Restore the state of this component.
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.util.AbstractUtilities
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.validator.AbstractValidator
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.validator.DoubleValidator
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.validator.FloatValidator
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.validator.IntegerValidator
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.validator.LongValidator
restoreState(FacesContext, Object) - Method in class org.apache.shale.validator.validator.ShortValidator
restoreView(FacesContext, String) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler

S

saveState(FacesContext) - Method in class org.apache.shale.validator.converter.DoubleConverter
saveState(FacesContext) - Method in class org.apache.shale.validator.converter.FloatConverter
saveState(FacesContext) - Method in class org.apache.shale.validator.converter.IntegerConverter
saveState(FacesContext) - Method in class org.apache.shale.validator.converter.LongConverter
saveState(FacesContext) - Method in class org.apache.shale.validator.converter.ShortConverter
saveState(FacesContext) - Method in class org.apache.shale.validator.faces.ValidatorScript
Save the state of this component.
saveState(FacesContext) - Method in class org.apache.shale.validator.util.AbstractUtilities
saveState(FacesContext) - Method in class org.apache.shale.validator.validator.AbstractValidator
saveState(FacesContext) - Method in class org.apache.shale.validator.validator.DoubleValidator
saveState(FacesContext) - Method in class org.apache.shale.validator.validator.FloatValidator
saveState(FacesContext) - Method in class org.apache.shale.validator.validator.IntegerValidator
saveState(FacesContext) - Method in class org.apache.shale.validator.validator.LongValidator
saveState(FacesContext) - Method in class org.apache.shale.validator.validator.ShortValidator
setArg(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the arg property.
setArg(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the arg attribute.
setClient(Boolean) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the client property.
setClient(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the client attribute.
setClient(String) - Method in class org.apache.shale.validator.tag.IntegerValidatorTag
 
setClient(boolean) - Method in class org.apache.shale.validator.validator.AbstractValidator
Set a flag describing whether this validator should be enforced on the client side or not.
setDatePatternStrict(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the datePatternStrict property.
setDatePatternStrict(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the setDatePatternStrict attribute.
setFormName(String) - Method in class org.apache.shale.validator.CommonsValidator
Sets the validator's owning form name.
setFunctionName(String) - Method in class org.apache.shale.validator.faces.ValidatorScript
Set the value of the functionName property.
setFunctionName(String) - Method in class org.apache.shale.validator.faces.ValidatorScriptTag
Setter method for the function name.
setLocale(Locale) - Method in class org.apache.shale.validator.converter.DoubleConverter
Set the Locale to apply to this conversion, or null to use the Locale for the current view.
setLocale(Locale) - Method in class org.apache.shale.validator.converter.FloatConverter
Set the Locale to apply to this conversion, or null to use the Locale for the current view.
setLocale(Locale) - Method in class org.apache.shale.validator.converter.IntegerConverter
Set the Locale to apply to this conversion, or null to use the Locale for the current view.
setLocale(Locale) - Method in class org.apache.shale.validator.converter.LongConverter
Set the Locale to apply to this conversion, or null to use the Locale for the current view.
setLocale(Locale) - Method in class org.apache.shale.validator.converter.ShortConverter
Set the Locale to apply to this conversion, or null to use the Locale for the current view.
setLocale(String) - Method in class org.apache.shale.validator.tag.IntegerConverterTag
 
setMask(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the mask property.
setMask(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the mask attribute.
setMax(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the max property.
setMax(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the max attribute.
setMaximum(String) - Method in class org.apache.shale.validator.tag.IntegerValidatorTag
 
setMaximum(double) - Method in class org.apache.shale.validator.validator.DoubleValidator
Set the configured maximum value for this validator.
setMaximum(float) - Method in class org.apache.shale.validator.validator.FloatValidator
Set the configured maximum value for this validator.
setMaximum(int) - Method in class org.apache.shale.validator.validator.IntegerValidator
Set the configured maximum value for this validator.
setMaximum(long) - Method in class org.apache.shale.validator.validator.LongValidator
Set the configured maximum value for this validator.
setMaximum(short) - Method in class org.apache.shale.validator.validator.ShortValidator
Set the configured maximum value for this validator.
setMaxLength(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the maxlength property.
setMaxlength(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the maxlength attribute.
setMessage(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the message property.
setMessage(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the message attribute.
setMessage(String) - Method in class org.apache.shale.validator.tag.IntegerConverterTag
 
setMessage(String) - Method in class org.apache.shale.validator.tag.IntegerValidatorTag
 
setMessage(String) - Method in class org.apache.shale.validator.util.AbstractUtilities
Set the custom error message template for this validator.
setMin(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the min property.
setMin(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the min attribute.
setMinimum(String) - Method in class org.apache.shale.validator.tag.IntegerValidatorTag
 
setMinimum(double) - Method in class org.apache.shale.validator.validator.DoubleValidator
Set the configured minimum value for this validator.
setMinimum(float) - Method in class org.apache.shale.validator.validator.FloatValidator
Set the configured minimum value for this validator.
setMinimum(int) - Method in class org.apache.shale.validator.validator.IntegerValidator
Set the configured minimum value for this validator.
setMinimum(long) - Method in class org.apache.shale.validator.validator.LongValidator
Set the configured minimum value for this validator.
setMinimum(short) - Method in class org.apache.shale.validator.validator.ShortValidator
Set the configured minimum value for this validator.
setMinLength(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the minlength property.
setMinlength(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the minlength attribute.
setName(String) - Method in class org.apache.shale.validator.faces.ValidatorVarTag
The var name.
setParent(Tag) - Method in class org.apache.shale.validator.faces.ValidatorVarTag
Keeps track of the <s:commonsValidator> tag.
setPattern(String) - Method in class org.apache.shale.validator.converter.DoubleConverter
Set the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
setPattern(String) - Method in class org.apache.shale.validator.converter.FloatConverter
Set the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
setPattern(String) - Method in class org.apache.shale.validator.converter.IntegerConverter
Set the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
setPattern(String) - Method in class org.apache.shale.validator.converter.LongConverter
Set the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
setPattern(String) - Method in class org.apache.shale.validator.converter.ShortConverter
Set the java.text.NumberFormat pattern to apply to this conversion, or null for using no pattern.
setPattern(String) - Method in class org.apache.shale.validator.tag.IntegerConverterTag
 
setProperties(UIComponent) - Method in class org.apache.shale.validator.faces.ValidatorScriptTag
Sets properties for the component.
setServer(Boolean) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the server property.
setServer(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the server attribute.
setTransient(boolean) - Method in class org.apache.shale.validator.util.AbstractUtilities
setType(String) - Method in class org.apache.shale.validator.CommonsValidator
The setter method for the type property.
setType(String) - Method in class org.apache.shale.validator.faces.ValidatorTag
Setter method for the type attribute.
setValue(String) - Method in class org.apache.shale.validator.faces.ValidatorVarTag
The var value.
ShaleValidatorAction - Class in org.apache.shale.validator.util
Custom wrapper around a Commons Validator ValidatorAction that precalculates as many of the introspective lookup operations as possible.
ShaleValidatorAction(ValidatorResources, ValidatorAction) - Constructor for class org.apache.shale.validator.util.ShaleValidatorAction
Create a new instance of ShaleValidatorAction that wraps the specified ValidatorAction.
ShortConverter - Class in org.apache.shale.validator.converter
JavaServer Faces Converter for Short (and int) instances.
ShortConverter() - Constructor for class org.apache.shale.validator.converter.ShortConverter
 
ShortValidator - Class in org.apache.shale.validator.validator
Validator implementation that will perform both format and (optional) range checks on a Short value.
ShortValidator() - Constructor for class org.apache.shale.validator.validator.ShortValidator
 
SUBMITTED_VALUE - Static variable in class org.apache.shale.validator.validator.AbstractValidator
Variable name in a vars map representing the submitted value that should be validated by this Validator.

V

validate(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.CommonsValidator
This validate method is called by JSF to verify the component to which the validator is attached.
validate(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.validator.AbstractValidator
Perform the correctness checks implemented by this Validator against the specified UIComponent.
validate(FacesContext, UIComponent, Object, String, Map) - Method in class org.apache.shale.validator.validator.AbstractValidator
Perform a validation using the specified Commons Validator type.
validate(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.validator.DoubleValidator

Perform the correctness checks implemented by this Validator against the specified UIComponent.

validate(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.validator.FloatValidator

Perform the correctness checks implemented by this Validator against the specified UIComponent.

validate(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.validator.IntegerValidator

Perform the correctness checks implemented by this Validator against the specified UIComponent.

validate(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.validator.LongValidator

Perform the correctness checks implemented by this Validator against the specified UIComponent.

validate(FacesContext, UIComponent, Object) - Method in class org.apache.shale.validator.validator.ShortValidator

Perform the correctness checks implemented by this Validator against the specified UIComponent.

VALIDATOR_ACTIONS - Static variable in class org.apache.shale.validator.Globals
Application scope attribute under which we store a Map of arrays of ShaleValidatorAction instances, keyed by the logical name of the Commons Validator action to be executed.
VALIDATOR_CLIENTIDS_ATTR - Static variable in class org.apache.shale.validator.faces.ValidatorInputRenderer
This constant is the name of a reserved attribute that will hold a Map of clientId's for the component.
VALIDATOR_RESOURCES - Static variable in class org.apache.shale.validator.Globals
Application scope attribute under which we store the Commons Validator resources that have been configured.
VALIDATOR_RULES - Static variable in class org.apache.shale.validator.Globals
Context initialization parameter used to specify a comma delimited list of context relative resource paths to resources containing our validator configuration information.
ValidatorCommandRenderer - Class in org.apache.shale.validator.faces
This Renderer is a hybrid renderer decorator that is dynamically registered by ValidatorRenderKit for component renderers in the "javax.faces.Command" family.
ValidatorCommandRenderer(Renderer) - Constructor for class org.apache.shale.validator.faces.ValidatorCommandRenderer
The overloaded constructor is passed the original Renderer for the family and component type.
ValidatorInputRenderer - Class in org.apache.shale.validator.faces
This renderer is a hybrid renderer decorator that is dynamically registered by the ValidatorRenderKit for component renderers in the "javax.faces.Input" family.
ValidatorInputRenderer(Renderer) - Constructor for class org.apache.shale.validator.faces.ValidatorInputRenderer
Overloaded constructor is passed the original Renderer.
ValidatorLifecycleListener - Class in org.apache.shale.validator.faces
ServletContextListener that loads validator configuration resources at application startup, and cleans up the libraries we depend on at application shutdown.
ValidatorLifecycleListener() - Constructor for class org.apache.shale.validator.faces.ValidatorLifecycleListener
 
ValidatorRenderKit - Class in org.apache.shale.validator.faces
Decorates the original RenderKit passed by the overloaded constructor in the org.apache.shale.view.faces.ViewViewHandler.
ValidatorRenderKit(RenderKit) - Constructor for class org.apache.shale.validator.faces.ValidatorRenderKit
This constructor is overloaded to pass the original RenderKit
ValidatorScript - Class in org.apache.shale.validator.faces
A JSF component that encodes JavaScript for all client-side validations specified in the same JSP page (with s:commonsValidator.
ValidatorScript() - Constructor for class org.apache.shale.validator.faces.ValidatorScript
 
ValidatorScriptTag - Class in org.apache.shale.validator.faces
The tag class for the s:validatorScript tag.
ValidatorScriptTag() - Constructor for class org.apache.shale.validator.faces.ValidatorScriptTag
This constructor retrieves a managed bean that has utility methods for implementing JSP custom tags for JSF components.
ValidatorTag - Class in org.apache.shale.validator.faces
The tag class for the s:commonsValidator tag.
ValidatorTag() - Constructor for class org.apache.shale.validator.faces.ValidatorTag
This constructor obtains a reference to the tag utility object, which is a JSF managed bean.
ValidatorVarTag - Class in org.apache.shale.validator.faces
The tag class for the s:validatorVar tag, used to specify parameters to specific validators of Commons Validator.
ValidatorVarTag() - Constructor for class org.apache.shale.validator.faces.ValidatorVarTag
 
ValidatorViewHandler - Class in org.apache.shale.validator.faces
ValidatorViewHandler is a custom implementation of ViewHandler that adds support for setting up a decorated RenderKit.
ValidatorViewHandler(ViewHandler) - Constructor for class org.apache.shale.validator.faces.ValidatorViewHandler
Create a ValidatorViewHandler instance that decorates the specified ViewHandler provided by the JSF runtime implementation.

W

writeJavaScriptParams(ResponseWriter, FacesContext, String, CommonsValidator) - Method in class org.apache.shale.validator.faces.ValidatorScript
Writes the JavaScript parameters for the client-side validation code.
writeState(FacesContext) - Method in class org.apache.shale.validator.faces.ValidatorViewHandler

A C D E F G H I L M O R S V W

Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.