A B C D E F G H I J K L M N O P R S T U V

A

add(Field, String, boolean) - Method in class org.apache.commons.validator.ValidatorResults
Add a the result of a validator action.
add(Field, String, boolean, Object) - Method in class org.apache.commons.validator.ValidatorResults
Add a the result of a validator action.
add(String, boolean) - Method in class org.apache.commons.validator.ValidatorResult
Add the result of a validator action.
add(String, boolean, Object) - Method in class org.apache.commons.validator.ValidatorResult
Add the result of a validator action.
addAllowedCardType(CreditCardValidator.CreditCardType) - Method in class org.apache.commons.validator.CreditCardValidator
Add an allowed CreditCardType that participates in the card validation algorithm.
addArg(Arg) - Method in class org.apache.commons.validator.Field
Add an Arg to the replacement argument list.
addConstant(String, String) - Method in class org.apache.commons.validator.ValidatorResources
Add a global constant to the resource.
addConstant(String, String) - Method in class org.apache.commons.validator.FormSet
Add a Constant to the locale level.
addField(Field) - Method in class org.apache.commons.validator.Form
Add a Field to the Form.
addForm(Form) - Method in class org.apache.commons.validator.FormSet
Add a Form to the FormSet.
addFormSet(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
Add a FormSet to this ValidatorResources object.
addMsg(Msg) - Method in class org.apache.commons.validator.Field
Add a Msg to the Field.
addValidatorAction(ValidatorAction) - Method in class org.apache.commons.validator.ValidatorResources
Add a ValidatorAction to the resource.
addVar(String, String, String) - Method in class org.apache.commons.validator.Field
Add a Var, based on the values passed in, to the Field.
addVar(Var) - Method in class org.apache.commons.validator.Field
Add a Var to the Field.
ALLOW_2_SLASHES - Static variable in class org.apache.commons.validator.UrlValidator
Allow two slashes in the path component of the URL.
ALLOW_ALL_SCHEMES - Static variable in class org.apache.commons.validator.UrlValidator
Allows all validly formatted schemes to pass validation instead of supplying a set of valid schemes.
AMEX - Static variable in class org.apache.commons.validator.CreditCardValidator
Option specifying that American Express cards are allowed.
Arg - class org.apache.commons.validator.Arg.
A default argument or an argument for a specific validator definition (ex: required) can be stored to pass into a message as parameters.
Arg() - Constructor for class org.apache.commons.validator.Arg
 
args - Variable in class org.apache.commons.validator.Field
Holds Maps of arguments.

B

BEAN_PARAM - Static variable in class org.apache.commons.validator.Validator
Resources key the JavaBean is stored to perform validation on.
buildKey(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
Builds a key to store the FormSet under based on it's language, country, and variant values.
bundle - Variable in class org.apache.commons.validator.Msg
The resource bundle name that this Msg's key should be resolved in (optional).
bundle - Variable in class org.apache.commons.validator.Arg
The resource bundle name that this Arg's key should be resolved in (optional).

C

classLoader - Variable in class org.apache.commons.validator.Validator
The class loader to use for instantiating application objects.
clear() - Method in class org.apache.commons.validator.ValidatorResults
Clear all results recorded by this object.
clear() - Method in class org.apache.commons.validator.Validator
Clears the form name, resources that were added, and the page that was set (if any).
clear() - Method in class org.apache.commons.validator.util.Flags
Turn off all flags.
clone() - Method in class org.apache.commons.validator.Var
Creates and returns a copy of this object.
clone() - Method in class org.apache.commons.validator.Field
Creates and returns a copy of this object.
clone() - Method in class org.apache.commons.validator.Msg
Creates and returns a copy of this object.
clone() - Method in class org.apache.commons.validator.Arg
Creates and returns a copy of this object.
clone() - Method in class org.apache.commons.validator.util.Flags
Clone this Flags object.
containsAction(String) - Method in class org.apache.commons.validator.ValidatorResult
Indicate whether a specified validator is in the Result.
containsField(String) - Method in class org.apache.commons.validator.Form
Returns true if this Form contains a Field with the given name.
copyFastHashMap(FastHashMap) - Static method in class org.apache.commons.validator.util.ValidatorUtils
Deprecated. This method is not part of Validator's public API. Validator will use it internally until FastHashMap references are removed. Use copyMap() instead.
copyMap(Map) - Static method in class org.apache.commons.validator.util.ValidatorUtils
Makes a deep copy of a Map if the values are Msg, Arg, or Var.
COUNTRY_FORMSET - Static variable in class org.apache.commons.validator.FormSet
This is the type of FormSets where only language and country locale are specified.
countToken(String, String) - Method in class org.apache.commons.validator.UrlValidator
Returns the number of times the token appears in the target.
createObject(Attributes) - Method in class org.apache.commons.validator.FormSetFactory
Create or retrieve a FormSet for the specified attributes.
CreditCardValidator - class org.apache.commons.validator.CreditCardValidator.
Perform credit card validations.
CreditCardValidator.CreditCardType - interface org.apache.commons.validator.CreditCardValidator.CreditCardType.
CreditCardType implementations define how validation is performed for one type/brand of credit card.
CreditCardValidator() - Constructor for class org.apache.commons.validator.CreditCardValidator
Create a new CreditCardValidator with default options.
CreditCardValidator(int) - Constructor for class org.apache.commons.validator.CreditCardValidator
Create a new CreditCardValidator with the specified options.

D

DateValidator - class org.apache.commons.validator.DateValidator.
Perform date validations.
DateValidator() - Constructor for class org.apache.commons.validator.DateValidator
Protected constructor for subclasses to use.
defaultFormSet - Variable in class org.apache.commons.validator.ValidatorResources
This is the default FormSet (without locale).
defaultLocale - Static variable in class org.apache.commons.validator.ValidatorResources
The default locale on our server.
defaultSchemes - Variable in class org.apache.commons.validator.UrlValidator
If no schemes are provided, default to this set.
depends - Variable in class org.apache.commons.validator.Field
A comma separated list of validator's this field depends on.
DISCOVER - Static variable in class org.apache.commons.validator.CreditCardValidator
Option specifying that Discover cards are allowed.
displayKey() - Method in class org.apache.commons.validator.FormSet
Returns a string representation of the object's key.

E

EmailValidator - class org.apache.commons.validator.EmailValidator.
Perform email validations.
EmailValidator() - Constructor for class org.apache.commons.validator.EmailValidator
Protected constructor for subclasses to use.
equals(Object) - Method in class org.apache.commons.validator.util.Flags
Tests if two Flags objects are in the same state.

F

field - Variable in class org.apache.commons.validator.ValidatorResult
Field being validated.
Field - class org.apache.commons.validator.Field.
This contains the list of pluggable validators to run on a field and any message information and variables to perform the validations and generate error messages.
FIELD_PARAM - Static variable in class org.apache.commons.validator.Validator
Resources key the Field is stored under.
Field() - Constructor for class org.apache.commons.validator.Field
 
fieldName - Variable in class org.apache.commons.validator.Validator
The name of the field on the form to validate
fieldOrder - Variable in class org.apache.commons.validator.Field
The order of the Field in the Form.
Flags - class org.apache.commons.validator.util.Flags.
Represents a collection of 64 boolean (on/off) flags.
Flags() - Constructor for class org.apache.commons.validator.util.Flags
Create a new Flags object.
Flags(long) - Constructor for class org.apache.commons.validator.util.Flags
Initialize a new Flags object with the given flags.
Form - class org.apache.commons.validator.Form.
This contains a set of validation rules for a form/JavaBean.
FORM_PARAM - Static variable in class org.apache.commons.validator.Validator
Resources key the Form is stored under.
Form() - Constructor for class org.apache.commons.validator.Form
 
formatByte(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a byte primitive.
formatByte(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a byte primitive.
formatCreditCard(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the field is a valid credit card number.
formatDate(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the field is a valid date.
formatDate(String, String, boolean) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the field is a valid date.
formatDouble(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a double primitive.
formatDouble(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a double primitive.
formatFloat(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a float primitive.
formatFloat(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a float primitive.
formatInt(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a int primitive.
formatInt(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to an int primitive.
formatLong(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a long primitive.
formatLong(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a long primitive.
formatShort(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a short primitive.
formatShort(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
Checks if the value can safely be converted to a short primitive.
formName - Variable in class org.apache.commons.validator.Validator
The name of the form to validate
FormSet - class org.apache.commons.validator.FormSet.
Holds a set of Forms stored associated with a Locale based on the country, language, and variant specified.
FormSet() - Constructor for class org.apache.commons.validator.FormSet
 
FormSetFactory - class org.apache.commons.validator.FormSetFactory.
Factory class used by Digester to create FormSet's.
FormSetFactory() - Constructor for class org.apache.commons.validator.FormSetFactory
 

G

generateKey() - Method in class org.apache.commons.validator.Field
Generate correct key value.
GenericTypeValidator - class org.apache.commons.validator.GenericTypeValidator.
This class contains basic methods for performing validations that return the correctly typed class based on the validation performed.
GenericTypeValidator() - Constructor for class org.apache.commons.validator.GenericTypeValidator
 
GenericValidator - class org.apache.commons.validator.GenericValidator.
This class contains basic methods for performing validations.
GenericValidator() - Constructor for class org.apache.commons.validator.GenericValidator
 
getActionMap() - Method in class org.apache.commons.validator.ValidatorResult
Return a Map of the validator actions in this Result.
getActions() - Method in class org.apache.commons.validator.ValidatorResources
Returns a Map of String ValidatorAction names to their ValidatorAction.
getArg(int) - Method in class org.apache.commons.validator.Field
Gets the default Arg object at the given position.
getArg(String, int) - Method in class org.apache.commons.validator.Field
Gets the Arg object at the given position.
getArgs(String) - Method in class org.apache.commons.validator.Field
Retrieves the Args for the given validator name.
getBundle() - Method in class org.apache.commons.validator.Var
Returns the resource bundle name.
getBundle() - Method in class org.apache.commons.validator.Msg
Returns the resource bundle name.
getBundle() - Method in class org.apache.commons.validator.Arg
Returns the resource bundle name.
getClassLoader() - Method in class org.apache.commons.validator.Validator
Return the class loader to be used for instantiating application objects when required.
getClassname() - Method in class org.apache.commons.validator.ValidatorAction
Gets the class of the validator action.
getConstants() - Method in class org.apache.commons.validator.ValidatorResources
Returns a Map of String constant names to their String values.
getCountry() - Method in class org.apache.commons.validator.FormSet
Gets the equivalent of the country component of Locale.
getDependencyList() - Method in class org.apache.commons.validator.ValidatorAction
Returns the dependent validator names as an unmodifiable List.
getDependencyList() - Method in class org.apache.commons.validator.Field
Gets an unmodifiable List of the dependencies in the same order they were defined in parameter passed to the setDepends() method.
getDepends() - Method in class org.apache.commons.validator.ValidatorAction
Gets the dependencies of the validator action as a comma separated list of validator names.
getDepends() - Method in class org.apache.commons.validator.Field
Gets the validation rules for this field as a comma separated list.
getExtends() - Method in class org.apache.commons.validator.Form
Gets the name/key of the parent set of validation rules.
getField() - Method in class org.apache.commons.validator.ValidatorResult
Returns the Field that was validated.
getField(String) - Method in class org.apache.commons.validator.Form
Returns the Field with the given name or null if this Form has no such field.
getFieldMap() - Method in class org.apache.commons.validator.Form
Returns a Map of String field keys to Field objects.
getFieldOrder() - Method in class org.apache.commons.validator.Field
Gets the position of the Field in the validation list.
getFields() - Method in class org.apache.commons.validator.Form
A List of Fields is returned as an unmodifiable List.
getFlags() - Method in class org.apache.commons.validator.util.Flags
Returns the current flags.
getForm(Locale, String) - Method in class org.apache.commons.validator.ValidatorResources
Gets a Form based on the name of the form and the Locale that most closely matches the Locale passed in.
getForm(String) - Method in class org.apache.commons.validator.FormSet
Retrieve a Form based on the form name.
getForm(String, String, String, String) - Method in class org.apache.commons.validator.ValidatorResources
Gets a Form based on the name of the form and the Locale that most closely matches the Locale passed in.
getFormName() - Method in class org.apache.commons.validator.Validator
Gets the form name which is the key to a set of validation rules.
getForms() - Method in class org.apache.commons.validator.FormSet
A Map of Forms is returned as an unmodifiable Map with the key based on the form name.
getFormSets() - Method in class org.apache.commons.validator.ValidatorResources
Returns a Map of String locale keys to Lists of their FormSets.
getIndexedListProperty() - Method in class org.apache.commons.validator.Field
Gets the indexed property name of the field.
getIndexedProperty() - Method in class org.apache.commons.validator.Field
Gets the indexed property name of the field.
getInstance() - Static method in class org.apache.commons.validator.EmailValidator
Returns the Singleton instance of this validator.
getInstance() - Static method in class org.apache.commons.validator.DateValidator
Returns the Singleton instance of this validator.
getJavascript() - Method in class org.apache.commons.validator.ValidatorAction
Gets the Javascript equivalent of the java class and method associated with this action.
getJsFunctionName() - Method in class org.apache.commons.validator.ValidatorAction
Gets the Javascript function name.
getJsType() - Method in class org.apache.commons.validator.Var
Gets the JavaScript type of the variable.
getKey() - Method in class org.apache.commons.validator.Field
Gets a unique key based on the property and indexedProperty fields.
getKey() - Method in class org.apache.commons.validator.Msg
Gets the key/value.
getKey() - Method in class org.apache.commons.validator.Arg
Gets the key/value.
getLanguage() - Method in class org.apache.commons.validator.FormSet
Gets the equivalent of the language component of Locale.
getMessage(String) - Method in class org.apache.commons.validator.Field
Retrieve a message object.
getMessages() - Method in class org.apache.commons.validator.Field
The Field's messages are returned as an unmodifiable Map.
getMethod() - Method in class org.apache.commons.validator.ValidatorAction
Gets the name of method being called for the validator action.
getMethodParams() - Method in class org.apache.commons.validator.ValidatorAction
Gets the method parameters for the method.
getMsg() - Method in class org.apache.commons.validator.ValidatorAction
Gets the message associated with the validator action.
getMsg(String) - Method in class org.apache.commons.validator.Field
Retrieve a message value.
getMsgMap() - Method in class org.apache.commons.validator.Field
Returns a Map of String Msg names to Msg objects.
getName() - Method in class org.apache.commons.validator.Form
Gets the name/key of the set of validation rules.
getName() - Method in class org.apache.commons.validator.Var
Gets the name of the variable.
getName() - Method in class org.apache.commons.validator.ValidatorAction
Gets the name of the validator action.
getName() - Method in class org.apache.commons.validator.Msg
Gets the name of the dependency.
getName() - Method in class org.apache.commons.validator.Arg
Gets the name of the dependency.
getOnlyReturnErrors() - Method in class org.apache.commons.validator.Validator
Returns true if the Validator is only returning Fields that fail validation.
getPage() - Method in class org.apache.commons.validator.Field
Gets the page value that the Field is associated with for validation.
getPage() - Method in class org.apache.commons.validator.Validator
Gets the page.
getParameterValue(String) - Method in class org.apache.commons.validator.Validator
Returns the value of the specified parameter that will be used during the processing of validations.
getPosition() - Method in class org.apache.commons.validator.Arg
Argument's replacement position.
getProperty() - Method in class org.apache.commons.validator.Field
Gets the property name of the field.
getPropertyNames() - Method in class org.apache.commons.validator.ValidatorResults
Return the set of property names for which at least one message has been recorded.
getResult() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
Gets the result returned by a validation method.
getResult(String) - Method in class org.apache.commons.validator.ValidatorResult
Return the result of a validation.
getResultValueMap() - Method in class org.apache.commons.validator.ValidatorResults
Get a Map of any Objects returned from validation routines.
getType() - Method in class org.apache.commons.validator.FormSet
Returns the type of FormSet:GLOBAL_FORMSET, LANGUAGE_FORMSET,COUNTRY_FORMSET or VARIANT_FORMSET .
getUseContextClassLoader() - Method in class org.apache.commons.validator.Validator
Return the boolean as to whether the context classloader should be used.
getValidatorAction(String) - Method in class org.apache.commons.validator.ValidatorResources
Get a ValidatorAction based on it's name.
getValidatorActions() - Method in class org.apache.commons.validator.ValidatorResources
Get an unmodifiable Map of the ValidatorActions.
getValidatorResult(String) - Method in class org.apache.commons.validator.ValidatorResults
Gets the ValidatorResult associated with the key passed in.
getValue() - Method in class org.apache.commons.validator.Var
Gets the value of the variable.
getValueAsString(Object, String) - Static method in class org.apache.commons.validator.util.ValidatorUtils
Convenience method for getting a value from a bean property as a String.
getVar(String) - Method in class org.apache.commons.validator.Field
Retrieve a variable.
getVariant() - Method in class org.apache.commons.validator.FormSet
Gets the equivalent of the variant component of Locale.
getVarMap() - Method in class org.apache.commons.validator.Field
Returns a Map of String Var names to Var objects.
getVars() - Method in class org.apache.commons.validator.Field
The Field's variables are returned as an unmodifiable Map.
getVarValue(String) - Method in class org.apache.commons.validator.Field
Retrieve a variable's value.
GLOBAL_FORMSET - Static variable in class org.apache.commons.validator.FormSet
This is the type of FormSets where no locale is specified.

H

hAction - Variable in class org.apache.commons.validator.ValidatorResult
Map of results.
hActions - Variable in class org.apache.commons.validator.ValidatorResources
Deprecated. Subclasses should use getActions() instead.
hashCode() - Method in class org.apache.commons.validator.util.Flags
The hash code is based on the current state of the flags.
hConstants - Variable in class org.apache.commons.validator.ValidatorResources
Deprecated. Subclasses should use getConstants() instead.
hFields - Variable in class org.apache.commons.validator.Form
Deprecated. Subclasses should use getFieldMap() instead.
hFormSets - Variable in class org.apache.commons.validator.ValidatorResources
Deprecated. Subclasses should use getFormSets() instead.
hMsgs - Variable in class org.apache.commons.validator.Field
Deprecated. Subclasses should use getMsgMap() instead.
hResults - Variable in class org.apache.commons.validator.ValidatorResults
Map of validation results.
hVars - Variable in class org.apache.commons.validator.Field
Deprecated. Subclasses should use getVarMap() instead.

I

indexedListProperty - Variable in class org.apache.commons.validator.Field
The Field's indexed list property name.
indexedProperty - Variable in class org.apache.commons.validator.Field
The Field's indexed property name.
inherit - Variable in class org.apache.commons.validator.Form
The name/key of the form which this form extends from.
init() - Method in class org.apache.commons.validator.ValidatorAction
Initialize based on set.
isBlankOrNull(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the field isn't null and length of the field is greater than zero not including whitespace.
ISBNValidator - class org.apache.commons.validator.ISBNValidator.
A class for validating 10 digit ISBN codes.
ISBNValidator() - Constructor for class org.apache.commons.validator.ISBNValidator
Default Constructor.
isByte(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value can safely be converted to a byte primitive.
isCreditCard(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the field is a valid credit card number.
isDate(String, Locale) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the field is a valid date.
isDate(String, String, boolean) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the field is a valid date.
isDependency(String) - Method in class org.apache.commons.validator.ValidatorAction
Checks whether or not the value passed in is in the depends field.
isDependency(String) - Method in class org.apache.commons.validator.Field
Checks if the validator is listed as a dependency.
isDouble(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value can safely be converted to a double primitive.
isEmail(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a field has a valid e-mail address.
isEmpty() - Method in class org.apache.commons.validator.ValidatorResults
Return true if there are no messages recorded in this collection, or false otherwise.
isExtending() - Method in class org.apache.commons.validator.Form
Get extends flag.
isFloat(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value can safely be converted to a float primitive.
isIndexed() - Method in class org.apache.commons.validator.Field
If there is a value specified for the indexedProperty field then true will be returned.
isInRange(byte, byte, byte) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a value is within a range (min & max specified in the vars attribute).
isInRange(double, double, double) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a value is within a range (min & max specified in the vars attribute).
isInRange(float, float, float) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a value is within a range (min & max specified in the vars attribute).
isInRange(int, int, int) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a value is within a range (min & max specified in the vars attribute).
isInRange(long, long, long) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a value is within a range (min & max specified in the vars attribute).
isInRange(short, short, short) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a value is within a range (min & max specified in the vars attribute).
isInt(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value can safely be converted to a int primitive.
isLong(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value can safely be converted to a long primitive.
isMerged() - Method in class org.apache.commons.validator.FormSet
Has this formSet been merged?
isOff(long) - Method in class org.apache.commons.validator.util.Flags
Tests whether the given flag is off.
isOn(long) - Method in class org.apache.commons.validator.util.Flags
Tests whether the given flag is on.
isProcessed() - Method in class org.apache.commons.validator.Form
Whether or not the this Form was processed for replacing variables in strings with their values.
isProcessed() - Method in class org.apache.commons.validator.FormSet
Whether or not the this FormSet was processed for replacing variables in strings with their values.
isResource() - Method in class org.apache.commons.validator.Var
Tests whether or not the value is a resource key or literal value.
isResource() - Method in class org.apache.commons.validator.Msg
Tests whether or not the key is a resource key or literal value.
isResource() - Method in class org.apache.commons.validator.Arg
Tests whether or not the key is a resource key or literal value.
isShort(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value can safely be converted to a short primitive.
isUrl(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if a field is a valid url address.
isValid() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
Tests whether or not the validation passed.
isValid(String) - Method in class org.apache.commons.validator.EmailValidator
Checks if a field has a valid e-mail address.
isValid(String) - Method in class org.apache.commons.validator.ISBNValidator
If the ISBN is formatted with space or dash separators its format is validated.
isValid(String) - Method in class org.apache.commons.validator.ValidatorResult
Indicate whether a specified validation passed.
isValid(String) - Method in class org.apache.commons.validator.UrlValidator
Checks if a field has a valid url address.
isValid(String) - Method in class org.apache.commons.validator.CreditCardValidator
Checks if the field is a valid credit card number.
isValid(String, Locale) - Method in class org.apache.commons.validator.DateValidator
Checks if the field is a valid date.
isValid(String, String, boolean) - Method in class org.apache.commons.validator.DateValidator
Checks if the field is a valid date.
isValidAuthority(String) - Method in class org.apache.commons.validator.UrlValidator
Returns true if the authority is properly formatted.
isValidDomain(String) - Method in class org.apache.commons.validator.EmailValidator
Returns true if the domain component of an email address is valid.
isValidFragment(String) - Method in class org.apache.commons.validator.UrlValidator
Returns true if the given fragment is null or fragments are allowed.
isValidIpAddress(Perl5Util) - Method in class org.apache.commons.validator.EmailValidator
Validates an IP address.
isValidPath(String) - Method in class org.apache.commons.validator.UrlValidator
Returns true if the path is valid.
isValidQuery(String) - Method in class org.apache.commons.validator.UrlValidator
Returns true if the query is null or it's a properly formatted query string.
isValidScheme(String) - Method in class org.apache.commons.validator.UrlValidator
Validate scheme.
isValidSymbolicDomain(String) - Method in class org.apache.commons.validator.EmailValidator
Validates a symbolic domain name.
isValidUser(String) - Method in class org.apache.commons.validator.EmailValidator
Returns true if the user component of an email address is valid.

J

JSTYPE_INT - Static variable in class org.apache.commons.validator.Var
Int Constant for JavaScript type.
JSTYPE_REGEXP - Static variable in class org.apache.commons.validator.Var
Regular Expression Constant for JavaScript type.
JSTYPE_STRING - Static variable in class org.apache.commons.validator.Var
String Constant for JavaScript type.

K

key - Variable in class org.apache.commons.validator.Field
The Field's unique key.
key - Variable in class org.apache.commons.validator.Msg
The key or value of the argument.
key - Variable in class org.apache.commons.validator.Arg
The key or value of the argument.

L

LANGUAGE_FORMSET - Static variable in class org.apache.commons.validator.FormSet
This is the type of FormSets where only language locale is specified.
lFields - Variable in class org.apache.commons.validator.Form
List of Fields.
loadJavascriptFunction() - Method in class org.apache.commons.validator.ValidatorAction
Load the javascript function specified by the given path.
LOCALE_PARAM - Static variable in class org.apache.commons.validator.Validator
Resources key the Locale is stored.
luhnCheck(String) - Method in class org.apache.commons.validator.CreditCardValidator
Checks for a valid credit card number.

M

MASTERCARD - Static variable in class org.apache.commons.validator.CreditCardValidator
Option specifying that Mastercard cards are allowed.
matches(String) - Method in interface org.apache.commons.validator.CreditCardValidator.CreditCardType
Returns true if the card number matches this type of credit card.
matchRegexp(String, String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value matches the regular expression.
maxLength(String, int) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value's length is less than or equal to the max.
maxValue(double, double) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is less than or equal to the max.
maxValue(float, float) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is less than or equal to the max.
maxValue(int, int) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is less than or equal to the max.
maxValue(long, long) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is less than or equal to the max.
merge(Form) - Method in class org.apache.commons.validator.Form
Merges the given form into this one.
merge(FormSet) - Method in class org.apache.commons.validator.FormSet
Merges the given FormSet into this one.
merge(ValidatorResults) - Method in class org.apache.commons.validator.ValidatorResults
Merge another ValidatorResults into mine.
minLength(String, int) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value's length is greater than or equal to the min.
minValue(double, double) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is greater than or equal to the min.
minValue(float, float) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is greater than or equal to the min.
minValue(int, int) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is greater than or equal to the min.
minValue(long, long) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value is greater than or equal to the min.
Msg - class org.apache.commons.validator.Msg.
An alternative message can be associated with a Field and a pluggable validator instead of using the default message stored in the ValidatorAction (aka pluggable validator).
Msg() - Constructor for class org.apache.commons.validator.Msg
 

N

name - Variable in class org.apache.commons.validator.Form
The name/key the set of validation rules is stored under.
name - Variable in class org.apache.commons.validator.Msg
The name dependency that this argument goes with (optional).
name - Variable in class org.apache.commons.validator.Arg
The name dependency that this argument goes with (optional).
NO_FRAGMENTS - Static variable in class org.apache.commons.validator.UrlValidator
Enabling this options disallows any URL fragments.
NONE - Static variable in class org.apache.commons.validator.CreditCardValidator
Option specifying that no cards are allowed.

O

onlyReturnErrors - Variable in class org.apache.commons.validator.Validator
Set this to true to not return Fields that pass validation.
org.apache.commons.validator - package org.apache.commons.validator
The Validator package provides validation for JavaBeans based on an xml file.
org.apache.commons.validator.util - package org.apache.commons.validator.util
 

P

page - Variable in class org.apache.commons.validator.Field
The Page Number
page - Variable in class org.apache.commons.validator.Validator
The current page number to validate.
parameters - Variable in class org.apache.commons.validator.Validator
Maps validation method parameter class names to the objects to be passed into the method.
position - Variable in class org.apache.commons.validator.Arg
This argument's position in the message.
process() - Method in class org.apache.commons.validator.ValidatorResources
Process the ValidatorResources object.
process(Map, Map, Map) - Method in class org.apache.commons.validator.Form
Processes all of the Form's Fields.
property - Variable in class org.apache.commons.validator.Field
The Field's property name.

R

replace(String, String, String) - Static method in class org.apache.commons.validator.util.ValidatorUtils
Replace part of a String with another value.
resource - Variable in class org.apache.commons.validator.Msg
Whether or not the key is a message resource (optional).
resource - Variable in class org.apache.commons.validator.Arg
Whether or not the key is a message resource (optional).
resources - Variable in class org.apache.commons.validator.Validator
The Validator Resources.

S

setBundle(String) - Method in class org.apache.commons.validator.Var
Sets the resource bundle name.
setBundle(String) - Method in class org.apache.commons.validator.Msg
Sets the resource bundle name.
setBundle(String) - Method in class org.apache.commons.validator.Arg
Sets the resource bundle name.
setClassLoader(ClassLoader) - Method in class org.apache.commons.validator.Validator
Set the class loader to be used for instantiating application objects when required.
setClassname(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the class of the validator action.
setCountry(String) - Method in class org.apache.commons.validator.FormSet
Sets the equivalent of the country component of Locale.
setDepends(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the dependencies of the validator action.
setDepends(String) - Method in class org.apache.commons.validator.Field
Sets the validation rules for this field as a comma separated list.
setExtends(String) - Method in class org.apache.commons.validator.Form
Sets the name/key of the parent set of validation rules.
setFieldName(String) - Method in class org.apache.commons.validator.Validator
Sets the name of the field to validate in a form (optional)
setFieldOrder(int) - Method in class org.apache.commons.validator.Field
Sets the position of the Field in the validation list.
setFormName(String) - Method in class org.apache.commons.validator.Validator
Sets the form name which is the key to a set of validation rules.
setIndexedListProperty(String) - Method in class org.apache.commons.validator.Field
Sets the indexed property name of the field.
setIndexedProperty(String) - Method in class org.apache.commons.validator.Field
Sets the indexed property name of the field.
setJavascript(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the Javascript equivalent of the java class and method associated with this action.
setJsFunction(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the fully qualified class path of the Javascript function.
setJsFunctionName(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the Javascript function name.
setJsType(String) - Method in class org.apache.commons.validator.Var
Sets the JavaScript type of the variable.
setKey(String) - Method in class org.apache.commons.validator.Field
Sets a unique key for the field.
setKey(String) - Method in class org.apache.commons.validator.Msg
Sets the key/value.
setKey(String) - Method in class org.apache.commons.validator.Arg
Sets the key/value.
setLanguage(String) - Method in class org.apache.commons.validator.FormSet
Sets the equivalent of the language component of Locale.
setMethod(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the name of method being called for the validator action.
setMethodParams(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the method parameters for the method.
setMsg(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the message associated with the validator action.
setName(String) - Method in class org.apache.commons.validator.Form
Sets the name/key of the set of validation rules.
setName(String) - Method in class org.apache.commons.validator.Var
Sets the name of the variable.
setName(String) - Method in class org.apache.commons.validator.ValidatorAction
Sets the name of the validator action.
setName(String) - Method in class org.apache.commons.validator.Msg
Sets the name of the dependency.
setName(String) - Method in class org.apache.commons.validator.Arg
Sets the name of the dependency.
setOnlyReturnErrors(boolean) - Method in class org.apache.commons.validator.Validator
Configures which Fields the Validator returns from the validate() method.
setPage(int) - Method in class org.apache.commons.validator.Field
Sets the page value that the Field is associated with for validation.
setPage(int) - Method in class org.apache.commons.validator.Validator
Sets the page.
setParameter(String, Object) - Method in class org.apache.commons.validator.Validator
Set a parameter of a pluggable validation method.
setPosition(int) - Method in class org.apache.commons.validator.Arg
Set this argument's replacement position.
setProperty(String) - Method in class org.apache.commons.validator.Field
Sets the property name of the field.
setResource(boolean) - Method in class org.apache.commons.validator.Var
Sets whether or not the value is a resource.
setResource(boolean) - Method in class org.apache.commons.validator.Msg
Sets whether or not the key is a resource.
setResource(boolean) - Method in class org.apache.commons.validator.Arg
Sets whether or not the key is a resource.
setResult(Object) - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
Sets the result returned by a validation method.
setUseContextClassLoader(boolean) - Method in class org.apache.commons.validator.Validator
Determine whether to use the Context ClassLoader (the one found by calling Thread.currentThread().getContextClassLoader()) to resolve/load classes that are defined in various rules.
setValid(boolean) - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
Sets whether or not the validation passed.
setValue(String) - Method in class org.apache.commons.validator.Var
Sets the value of the variable.
setVariant(String) - Method in class org.apache.commons.validator.FormSet
Sets the equivalent of the variant component of Locale.
stripComments(String) - Method in class org.apache.commons.validator.EmailValidator
Recursively remove comments, and replace with a single space.

T

TOKEN_END - Static variable in class org.apache.commons.validator.Field
The end of a token.
TOKEN_INDEXED - Static variable in class org.apache.commons.validator.Field
This indicates an indexed property is being referenced.
TOKEN_START - Static variable in class org.apache.commons.validator.Field
The start of a token.
TOKEN_VAR - Static variable in class org.apache.commons.validator.Field
A Vriable token.
toString() - Method in class org.apache.commons.validator.Form
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Var
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.ValidatorAction
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.FormSet
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Field
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Msg
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Arg
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.util.Flags
Returns a 64 length String with the first flag on the right and the 64th flag on the left.
turnOff(long) - Method in class org.apache.commons.validator.util.Flags
Turns off the given flag.
turnOffAll() - Method in class org.apache.commons.validator.util.Flags
Turn off all flags.
turnOn(long) - Method in class org.apache.commons.validator.util.Flags
Turns on the given flag.
turnOnAll() - Method in class org.apache.commons.validator.util.Flags
Turn on all 64 flags.

U

UrlValidator - class org.apache.commons.validator.UrlValidator.
Validates URLs.
UrlValidator() - Constructor for class org.apache.commons.validator.UrlValidator
Create a UrlValidator with default properties.
UrlValidator(int) - Constructor for class org.apache.commons.validator.UrlValidator
Initialize a UrlValidator with the given validation options.
UrlValidator(String[]) - Constructor for class org.apache.commons.validator.UrlValidator
Behavior of validation is modified by passing in several strings options:
UrlValidator(String[], int) - Constructor for class org.apache.commons.validator.UrlValidator
Behavour of validation is modified by passing in options:
useContextClassLoader - Variable in class org.apache.commons.validator.Validator
Whether or not to use the Context ClassLoader when loading classes for instantiating new objects.

V

validate() - Method in class org.apache.commons.validator.Validator
Performs validations based on the configured resources.
validate(Map, Map) - Method in class org.apache.commons.validator.Field
Run the configured validations on this field.
Validator - class org.apache.commons.validator.Validator.
Validations are processed by the validate method.
VALIDATOR_ACTION_PARAM - Static variable in class org.apache.commons.validator.Validator
Resources key the ValidatorAction is stored under.
VALIDATOR_PARAM - Static variable in class org.apache.commons.validator.Validator
Resources key the Validator is stored under.
VALIDATOR_RESULTS_PARAM - Static variable in class org.apache.commons.validator.Validator
Resources key the ValidatorResults is stored under.
Validator(ValidatorResources) - Constructor for class org.apache.commons.validator.Validator
Construct a Validator that will use the ValidatorResources passed in to retrieve pluggable validators the different sets of validation rules.
Validator(ValidatorResources, String) - Constructor for class org.apache.commons.validator.Validator
Construct a Validator that will use the ValidatorResources passed in to retrieve pluggable validators the different sets of validation rules.
Validator(ValidatorResources, String, String) - Constructor for class org.apache.commons.validator.Validator
Construct a Validator that will use the ValidatorResources passed in to retrieve pluggable validators the different sets of validation rules.
ValidatorAction - class org.apache.commons.validator.ValidatorAction.
Contains the information to dynamically create and run a validation method.
ValidatorAction() - Constructor for class org.apache.commons.validator.ValidatorAction
 
ValidatorException - exception org.apache.commons.validator.ValidatorException.
The base exception for the Validator Framework.
ValidatorException() - Constructor for class org.apache.commons.validator.ValidatorException
Constructs an Exception with no specified detail message.
ValidatorException(String) - Constructor for class org.apache.commons.validator.ValidatorException
Constructs an Exception with the specified detail message.
ValidatorResources - class org.apache.commons.validator.ValidatorResources.
General purpose class for storing FormSet objects based on their associated Locale.
ValidatorResources() - Constructor for class org.apache.commons.validator.ValidatorResources
Create an empty ValidatorResources object.
ValidatorResources(InputStream) - Constructor for class org.apache.commons.validator.ValidatorResources
Create a ValidatorResources object from an InputStream.
ValidatorResources(InputStream[]) - Constructor for class org.apache.commons.validator.ValidatorResources
Create a ValidatorResources object from an InputStream.
ValidatorResources(String) - Constructor for class org.apache.commons.validator.ValidatorResources
Create a ValidatorResources object from an uri
ValidatorResources(String[]) - Constructor for class org.apache.commons.validator.ValidatorResources
Create a ValidatorResources object from several uris
ValidatorResult - class org.apache.commons.validator.ValidatorResult.
This contains the results of a set of validation rules processed on a JavaBean.
ValidatorResult.ResultStatus - class org.apache.commons.validator.ValidatorResult.ResultStatus.
Contains the status of the validation.
ValidatorResult.ResultStatus(ValidatorResult, boolean, Object) - Constructor for class org.apache.commons.validator.ValidatorResult.ResultStatus
Construct a Result status.
ValidatorResult(Field) - Constructor for class org.apache.commons.validator.ValidatorResult
Constructs a ValidatorResult with the associated field being validated.
ValidatorResults - class org.apache.commons.validator.ValidatorResults.
This contains the results of a set of validation rules processed on a JavaBean.
ValidatorResults() - Constructor for class org.apache.commons.validator.ValidatorResults
 
ValidatorUtils - class org.apache.commons.validator.util.ValidatorUtils.
Basic utility methods.
ValidatorUtils() - Constructor for class org.apache.commons.validator.util.ValidatorUtils
 
Var - class org.apache.commons.validator.Var.
A variable that can be associated with a Field for passing in information to a pluggable validator.
Var() - Constructor for class org.apache.commons.validator.Var
Default Constructor.
Var(String, String, String) - Constructor for class org.apache.commons.validator.Var
Constructs a variable with a specified name, value and Javascript type.
VARIANT_FORMSET - Static variable in class org.apache.commons.validator.FormSet
This is the type of FormSets where full locale has been set.
VISA - Static variable in class org.apache.commons.validator.CreditCardValidator
Option specifying that Visa cards are allowed.

A B C D E F G H I J K L M N O P R S T U V

Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.