- ABAN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ABANumberCheckDigit
-
Singleton Routing Transit Number Check Digit instance
- ABANumberCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 10 ABA Number (or Routing Transit Number (RTN)) Check Digit
calculation/validation.
- ABANumberCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.ABANumberCheckDigit
-
Construct a modulus 10 Check Digit routine for ABA Numbers.
- AbstractCalendarValidator - Class in org.apache.commons.validator.routines
-
Abstract class for Date/Time/Calendar validation.
- AbstractCalendarValidator(boolean, int, int) - Constructor for class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Construct an instance with the specified strict,
time and date style parameters.
- AbstractFormatValidator - Class in org.apache.commons.validator.routines
-
Abstract class for Format based Validation.
- AbstractFormatValidator(boolean) - Constructor for class org.apache.commons.validator.routines.AbstractFormatValidator
-
Construct an instance with the specified strict setting.
- AbstractNumberValidator - Class in org.apache.commons.validator.routines
-
Abstract class for Number Validation.
- AbstractNumberValidator(boolean, int, boolean) - Constructor for class org.apache.commons.validator.routines.AbstractNumberValidator
-
Construct an instance with specified strict
and decimal parameters.
- 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.
- 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.
- addAllowedCardType(CreditCardValidator.CreditCardType) - Method in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
Adds 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.FormSet
-
Add a Constant
to the locale level.
- addConstant(String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a global constant to the resource.
- 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(Var) - Method in class org.apache.commons.validator.Field
-
Add a Var
to the Field
.
- addVar(String, String, String) - Method in class org.apache.commons.validator.Field
-
Add a Var
, based on the values passed in, to the
Field
.
- adjustToTimeZone(Calendar, TimeZone) - Static method in class org.apache.commons.validator.routines.CalendarValidator
-
Adjusts a Calendar's value to a different TimeZone.
- ALLOW_2_SLASHES - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Allow two slashes in the path component of the URL.
- ALLOW_2_SLASHES - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Allow two slashes in the path component of the URL.
- ALLOW_ALL_SCHEMES - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Allows all validly formatted schemes to pass validation instead of
supplying a set of valid schemes.
- ALLOW_ALL_SCHEMES - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Allows all validly formatted schemes to pass validation instead of
supplying a set of valid schemes.
- ALLOW_LOCAL_URLS - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Allow local URLs, such as http://localhost/ or http://machine/ .
- AMEX - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
Option specifying that American Express cards are allowed.
- AMEX - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that American Express cards are allowed.
- AMEX_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
American Express (Amex) Card Validator
- Arg - Class in org.apache.commons.validator
-
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.
- calculate(String) - Method in interface org.apache.commons.validator.routines.checkdigit.CheckDigit
-
Calculates the Check Digit for a code.
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
-
Calculate the Check Digit for an IBAN code.
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Calculate an ISBN-10 or ISBN-13 check digit, depending
on the length of the code.
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Calculate a modulus Check Digit for a code which does not yet have one.
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
Calculate a Verhoeff Check Digit for a code.
- calculateModulus(String, boolean) - Method in class org.apache.commons.validator.routines.checkdigit.ISINCheckDigit
-
Calculate the modulus for an ISIN code.
- calculateModulus(String, boolean) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Calculate the modulus for a code.
- calculateModulus(String, boolean) - Method in class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
-
Calculate the modulus for an SEDOL code.
- CalendarValidator - Class in org.apache.commons.validator.routines
-
Calendar Validation and Conversion routines (java.util.Calendar
).
- CalendarValidator() - Constructor for class org.apache.commons.validator.routines.CalendarValidator
-
Construct a strict instance with short
date style.
- CalendarValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.CalendarValidator
-
Construct an instance with the specified strict
and date style parameters.
- CheckDigit - Interface in org.apache.commons.validator.routines.checkdigit
-
Check Digit calculation and validation.
- CheckDigitException - Exception in org.apache.commons.validator.routines.checkdigit
-
Check Digit calculation/validation error.
- CheckDigitException() - Constructor for exception org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Construct an Exception with no message.
- CheckDigitException(String) - Constructor for exception org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Construct an Exception with a message.
- CheckDigitException(String, Throwable) - Constructor for exception org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Construct an Exception with a message and
the underlying cause.
- 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.util.Flags
-
Turn off all flags.
- 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.ValidatorResults
-
Clear all results recorded by this object.
- clientValidation - Variable in class org.apache.commons.validator.Field
-
The flag that indicates whether scripting should be generated
by the client for client-side validation.
- 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.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.util.Flags
-
Clone this Flags object.
- clone() - Method in class org.apache.commons.validator.Var
-
Creates and returns a copy of this object.
- CodeValidator - Class in org.apache.commons.validator.routines
-
Generic
Code Validation providing format, minimum/maximum
length and
CheckDigit
validations.
- CodeValidator(String, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular
expression and
CheckDigit
.
- CodeValidator(String, int, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular
expression, length and
CheckDigit
.
- CodeValidator(String, int, int, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular
expression, minimum/maximum length and
CheckDigit
validation.
- CodeValidator(RegexValidator, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular expression,
validator and
CheckDigit
validation.
- CodeValidator(RegexValidator, int, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular expression,
validator, length and
CheckDigit
validation.
- CodeValidator(RegexValidator, int, int, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular expression
validator, minimum/maximum length and
CheckDigit
validation.
- compare(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares a calendar value to another, indicating whether it is
equal, less then or more than at a specified level.
- compareDates(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Dates (day, month and year - not time).
- compareDates(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Dates (day, month and year - not time).
- compareHours(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Hours.
- compareMinutes(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Minutes (hours and minutes).
- compareMonths(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Months (month and year).
- compareMonths(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Months (month and year).
- compareQuarters(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares a calendar's quarter value to another, indicating whether it is
equal, less then or more than the specified quarter.
- compareQuarters(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Quarters (quarter and year).
- compareQuarters(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Quarters (quarter and year).
- compareQuarters(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Quarters (quarter and year).
- compareQuarters(Date, Date, TimeZone, int) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Quarters (quarter and year).
- compareSeconds(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Seconds (hours, minutes and seconds).
- compareTime(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares a calendar time value to another, indicating whether it is
equal, less then or more than at a specified level.
- compareTime(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Times (hour, minute, second and millisecond - not date).
- compareWeeks(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Weeks (week and year).
- compareWeeks(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Weeks (week and year).
- compareYears(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Years.
- compareYears(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Years.
- 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.
- convertToEAN13(String, String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Convert an ISSN code to an EAN-13 code.
- convertToISBN13(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Convert an ISBN-10 code to an ISBN-13 code.
- copyFastHashMap(FastHashMap) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
- copyMap(Map<String, Object>) - 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 FormSet
s where only language and country
locale are specified.
- countToken(String, String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Returns the number of times the token appears in the target.
- countToken(String, String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.
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 in org.apache.commons.validator
-
- CreditCardValidator() - Constructor for class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
Create a new CreditCardValidator with default options.
- CreditCardValidator(int) - Constructor for class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
Creates a new CreditCardValidator with the specified options.
- CreditCardValidator - Class in org.apache.commons.validator.routines
-
Perform credit card validations.
- CreditCardValidator() - Constructor for class org.apache.commons.validator.routines.CreditCardValidator
-
Create a new CreditCardValidator with default options.
- CreditCardValidator(long) - Constructor for class org.apache.commons.validator.routines.CreditCardValidator
-
Create a new CreditCardValidator with the specified options.
- CreditCardValidator(CodeValidator[]) - Constructor for class org.apache.commons.validator.routines.CreditCardValidator
-
Create a new CreditCardValidator with the specified
CodeValidator
s.
- CreditCardValidator.CreditCardType - Interface in org.apache.commons.validator
-
Deprecated.
CreditCardType implementations define how validation is performed
for one type/brand of credit card.
- CURRENCY_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Currency NumberFormat
type
- CurrencyValidator - Class in org.apache.commons.validator.routines
-
Currency Validation and Conversion routines (java.math.BigDecimal
).
- CurrencyValidator() - Constructor for class org.apache.commons.validator.routines.CurrencyValidator
-
Construct a strict instance.
- CurrencyValidator(boolean, boolean) - Constructor for class org.apache.commons.validator.routines.CurrencyValidator
-
Construct an instance with the specified strict setting.
- CUSIP_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.CUSIPCheckDigit
-
Singleton CUSIP Check Digit instance
- CUSIPCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 10 CUSIP (North American Securities) Check Digit calculation/validation.
- CUSIPCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.CUSIPCheckDigit
-
Construct an CUSIP Indetifier Check Digit routine.
- Field - Class in org.apache.commons.validator
-
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() - Constructor for class org.apache.commons.validator.Field
-
- field - Variable in class org.apache.commons.validator.ValidatorResult
-
Field
being validated.
- FIELD_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the Field
is stored under.
- 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 in org.apache.commons.validator.util
-
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.
- FloatValidator - Class in org.apache.commons.validator.routines
-
Float Validation and Conversion routines (java.lang.Float
).
- FloatValidator() - Constructor for class org.apache.commons.validator.routines.FloatValidator
-
Construct a strict instance.
- FloatValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.FloatValidator
-
Construct an instance with the specified strict setting
and format type.
- Form - Class in org.apache.commons.validator
-
This contains a set of validation rules for a form/JavaBean.
- Form() - Constructor for class org.apache.commons.validator.Form
-
- FORM_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the Form
is stored under.
- format(Object, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a String
using
the default Locale.
- format(Object, String, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a String
using
the specified pattern.
- format(Object, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a String
using
the specified Locale.
- format(Object, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object using the specified pattern and/or
Locale
.
- format(Object, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object using the specified pattern and/or
Locale
.
- format(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format a value with the specified DateFormat
.
- format(Object) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object into a String
using
the default Locale.
- format(Object, String) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object into a String
using
the specified pattern.
- format(Object, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object into a String
using
the specified Locale.
- format(Object, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object using the specified pattern and/or
Locale
.
- format(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format a value with the specified Format
.
- 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 in org.apache.commons.validator
-
Holds a set of Form
s stored associated with a Locale
based on the country, language, and variant specified.
- FormSet() - Constructor for class org.apache.commons.validator.FormSet
-
- FormSetFactory - Class in org.apache.commons.validator
-
Factory class used by Digester to create FormSet's.
- FormSetFactory() - Constructor for class org.apache.commons.validator.FormSetFactory
-
- generateKey() - Method in class org.apache.commons.validator.Field
-
Generate correct key
value.
- GenericTypeValidator - Class in org.apache.commons.validator
-
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 in org.apache.commons.validator
-
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
-
- getActions() - Method in class org.apache.commons.validator.ValidatorResources
-
Returns a Map of String ValidatorAction names to their ValidatorAction.
- getActions() - Method in class org.apache.commons.validator.ValidatorResult
-
Return an Iterator of the action names contained in this Result.
- 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.Arg
-
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.Var
-
Returns the resource bundle name.
- getCheckDigit() - Method in class org.apache.commons.validator.routines.CodeValidator
-
Return the check digit validation routine.
- 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
.
- getDefaultValidators() - Method in class org.apache.commons.validator.routines.IBANValidator
-
Gets a copy of the default Validators.
- 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.
- getDependencyList() - Method in class org.apache.commons.validator.ValidatorAction
-
Returns the dependent validator names as an unmodifiable
List
.
- getDepends() - Method in class org.apache.commons.validator.Field
-
Gets the validation rules for this field as a comma separated list.
- getDepends() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the dependencies of the validator action as a comma separated list
of validator names.
- getExtends() - Method in class org.apache.commons.validator.Form
-
Gets the name/key of the parent set of validation rules.
- 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.
- getField() - Method in class org.apache.commons.validator.ValidatorResult
-
Returns the Field that was validated.
- 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 Field
s is returned as an unmodifiable
List
.
- getFlags() - Method in class org.apache.commons.validator.util.Flags
-
Returns the current flags.
- getForm(String) - Method in class org.apache.commons.validator.FormSet
-
Retrieve a Form
based on the form name.
- 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, 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.
- getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Returns a DateFormat
for the specified pattern
and/or Locale
.
- getFormat(Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Returns a DateFormat
for the specified Locale.
- getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Returns a Format
for the specified pattern
and/or Locale
.
- getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Returns a NumberFormat
for the specified pattern
and/or Locale
.
- getFormat(Locale) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Returns a NumberFormat
for the specified Locale.
- getFormatType() - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Indicates the type of NumberFormat
created
by this validator instance.
- 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 Form
s 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.DateValidator
-
Deprecated.
Returns the Singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.EmailValidator
-
Deprecated.
Returns the Singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ByteValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.CalendarValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.CurrencyValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.DateValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Returns the singleton instance of this validator.
- getInstance(boolean) - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Returns the singleton instance of this validator,
with local validation as required.
- getInstance() - Static method in class org.apache.commons.validator.routines.DoubleValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.EmailValidator
-
Returns the Singleton instance of this validator.
- getInstance(boolean, boolean) - Static method in class org.apache.commons.validator.routines.EmailValidator
-
Returns the Singleton instance of this validator,
with local validation as required.
- getInstance(boolean) - Static method in class org.apache.commons.validator.routines.EmailValidator
-
Returns the Singleton instance of this validator,
with local validation as required.
- getInstance() - Static method in class org.apache.commons.validator.routines.FloatValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.IBANValidator
-
Return a singleton instance of the IBAN validator using the default formats
- getInstance() - Static method in class org.apache.commons.validator.routines.InetAddressValidator
-
Returns the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.IntegerValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ISBNValidator
-
Return a singleton instance of the ISBN validator which
converts ISBN-10 codes to ISBN-13.
- getInstance(boolean) - Static method in class org.apache.commons.validator.routines.ISBNValidator
-
Return a singleton instance of the ISBN validator specifying
whether ISBN-10 codes should be converted to ISBN-13.
- getInstance() - Static method in class org.apache.commons.validator.routines.ISSNValidator
-
Return a singleton instance of the ISSN validator
- getInstance() - Static method in class org.apache.commons.validator.routines.LongValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.PercentValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ShortValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.TimeValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.UrlValidator
-
Returns the singleton instance of this class with default schemes and options.
- 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.Arg
-
Gets the key/value.
- 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.
- getLanguage() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the language component of Locale
.
- getMaxLength() - Method in class org.apache.commons.validator.routines.CodeValidator
-
Return the maximum length of the code.
- 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.
- getMinLength() - Method in class org.apache.commons.validator.routines.CodeValidator
-
Return the minimum length of the code.
- getModulus() - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Return the modulus value this check digit routine is based on.
- getMsg(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a message value.
- getMsg() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the message associated with the validator action.
- 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.Arg
-
Gets the name of the dependency.
- 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.Msg
-
Gets the name of the dependency.
- getName() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the name of the validator action.
- getName() - Method in class org.apache.commons.validator.Var
-
Gets the name of the variable.
- 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.
- getRegexValidator() - Method in class org.apache.commons.validator.routines.CodeValidator
-
Return the regular expression validator.
- getResult(String) - Method in class org.apache.commons.validator.ValidatorResult
-
Return the result of a validation.
- getResult() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Gets the result returned by a validation method.
- getResultValueMap() - Method in class org.apache.commons.validator.ValidatorResults
-
Get a Map
of any Object
s 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.
- getValidator(String) - Method in class org.apache.commons.validator.routines.IBANValidator
-
Get the Validator for a given IBAN
- 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 ValidatorAction
s.
- 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 FormSet
s where no locale is specified.
- IBAN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
-
Singleton IBAN Number Check Digit instance
- IBANCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
IBAN (International Bank Account Number) Check Digit calculation/validation.
- IBANCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
-
Construct Check Digit routine for IBAN Numbers.
- IBANValidator - Class in org.apache.commons.validator.routines
-
IBAN Validator.
- IBANValidator() - Constructor for class org.apache.commons.validator.routines.IBANValidator
-
Create a default IBAN validator.
- IBANValidator(IBANValidator.Validator[]) - Constructor for class org.apache.commons.validator.routines.IBANValidator
-
Create an IBAN validator from the specified map of IBAN formats.
- IBANValidator.Validator - Class in org.apache.commons.validator.routines
-
- 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.
- InetAddressValidator - Class in org.apache.commons.validator.routines
-
InetAddress validation and conversion routines (java.net.InetAddress
).
- InetAddressValidator() - Constructor for class org.apache.commons.validator.routines.InetAddressValidator
-
- 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.
- IntegerValidator - Class in org.apache.commons.validator.routines
-
Integer Validation and Conversion routines (java.lang.Integer
).
- IntegerValidator() - Constructor for class org.apache.commons.validator.routines.IntegerValidator
-
Construct a strict instance.
- IntegerValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.IntegerValidator
-
Construct an instance with the specified strict setting
and format type.
- isAllowFractions() - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Indicates whether the number being validated is
a decimal or integer.
- 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.
- ISBN10_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
-
Singleton ISBN-10 Check Digit instance
- ISBN10_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Singleton ISBN-10 Check Digit instance
- ISBN10CheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 11 ISBN-10 Check Digit calculation/validation.
- ISBN10CheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
-
Construct a modulus 11 Check Digit routine for ISBN-10.
- ISBN13_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Singleton ISBN-13 Check Digit instance
- ISBN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Singleton combined ISBN-10 / ISBN-13 Check Digit instance
- ISBNCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Combined ISBN-10 / ISBN-13 Check Digit calculation/validation.
- ISBNCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
- ISBNValidator - Class in org.apache.commons.validator
-
- ISBNValidator() - Constructor for class org.apache.commons.validator.ISBNValidator
-
Deprecated.
Default Constructor.
- ISBNValidator - Class in org.apache.commons.validator.routines
-
ISBN-10 and ISBN-13 Code Validation.
- ISBNValidator() - Constructor for class org.apache.commons.validator.routines.ISBNValidator
-
Construct an ISBN validator which converts ISBN-10 codes
to ISBN-13.
- ISBNValidator(boolean) - Constructor for class org.apache.commons.validator.routines.ISBNValidator
-
Construct an ISBN validator indicating whether
ISBN-10 codes should be converted to ISBN-13.
- isByte(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a byte primitive.
- isClientValidation() - Method in class org.apache.commons.validator.Field
-
Determines whether client-side scripting should be generated
for this field.
- 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.Field
-
Checks if the validator is listed as a dependency.
- isDependency(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Checks whether or not the value passed in is in the depends field.
- 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.
- ISIN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISINCheckDigit
-
Singleton ISIN Check Digit instance
- ISINCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 10 ISIN (International Securities Identifying Number) Check Digit calculation/validation.
- ISINCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.ISINCheckDigit
-
Construct an ISIN Indetifier Check Digit routine.
- 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(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(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(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).
- 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(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(Number, Number, Number) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Check if the value is within a specified range.
- isInRange(BigDecimal, double, double) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Check if the value is within a specified range.
- isInRange(BigInteger, long, long) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Check if the value is within a specified range.
- isInRange(byte, byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is within a specified range.
- isInRange(Byte, byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is within a specified range.
- isInRange(double, double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is within a specified range.
- isInRange(Double, double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is within a specified range.
- isInRange(float, float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is within a specified range.
- isInRange(Float, float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is within a specified range.
- isInRange(int, int, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is within a specified range.
- isInRange(Integer, int, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is within a specified range.
- isInRange(long, long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is within a specified range.
- isInRange(Long, long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is within a specified range.
- isInRange(short, short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is within a specified range.
- isInRange(Short, short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is within a specified range.
- 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.Arg
-
Tests whether or not the key 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.Var
-
Tests whether or not the value 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.
- ISSN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
-
Singleton ISSN Check Digit instance
- ISSNCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
International Standard Serial Number (ISSN)
is an eight-digit serial number used to
uniquely identify a serial publication.
- ISSNCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
-
- ISSNValidator - Class in org.apache.commons.validator.routines
-
International Standard Serial Number (ISSN)
is an eight-digit serial number used to
uniquely identify a serial publication.
- ISSNValidator() - Constructor for class org.apache.commons.validator.routines.ISSNValidator
-
- isStrict() - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Indicates whether validated values should adhere
strictly to the Format
used.
- isUrl(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a field is a valid url address.
- isValid(String) - Method in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
Checks if the field is a valid credit card number.
- isValid(String, String, boolean) - Method in class org.apache.commons.validator.DateValidator
-
Deprecated.
Checks if the field is a valid date.
- isValid(String, Locale) - Method in class org.apache.commons.validator.DateValidator
-
Deprecated.
Checks if the field is a valid date.
- isValid(String) - Method in class org.apache.commons.validator.EmailValidator
-
Deprecated.
Checks if a field has a valid e-mail address.
- isValid(String) - Method in class org.apache.commons.validator.ISBNValidator
-
Deprecated.
If the ISBN is formatted with space or dash separators its format is
validated.
- isValid(String, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Validate using the specified Locale
.
- isValid(String) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Validate using the default Locale
.
- isValid(String, String) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Validate using the specified pattern.
- isValid(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Validate using the specified Locale
.
- isValid(String, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Validate using the specified pattern and/or Locale
.
- isValid(String, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Validate using the specified Locale
.
- isValid(String) - Method in interface org.apache.commons.validator.routines.checkdigit.CheckDigit
-
Validates the check digit for the code.
- isValid(String) - Method in class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
-
Validate the check digit of an IBAN code.
- isValid(String) - Method in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Validate an ISBN-10 or ISBN-13 check digit, depending
on the length of the code.
- isValid(String) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Validate a modulus check digit for a code.
- isValid(String) - Method in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
Validate the Verhoeff Check Digit for a code.
- isValid(String) - Method in class org.apache.commons.validator.routines.CodeValidator
-
Validate the code returning either true
or false
.
- isValid(String) - Method in class org.apache.commons.validator.routines.CreditCardValidator
-
Checks if the field is a valid credit card number.
- isValid(String) - Method in class org.apache.commons.validator.routines.DomainValidator
-
Returns true if the specified String
parses
as a valid domain name with a recognized top-level domain.
- isValid(String) - Method in class org.apache.commons.validator.routines.EmailValidator
-
Checks if a field has a valid e-mail address.
- isValid(String) - Method in class org.apache.commons.validator.routines.IBANValidator
-
Validate an IBAN Code.
- isValid(String) - Method in class org.apache.commons.validator.routines.InetAddressValidator
-
Checks if the specified string is a valid IP address.
- isValid(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is either a valid ISBN-10 or ISBN-13 code.
- isValid(String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Check the code is a valid ISSN code after any transformation
by the validate routine.
- isValid(String) - Method in class org.apache.commons.validator.routines.RegexValidator
-
Validate a value against the set of regular expressions.
- isValid(String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Checks if a field has a valid url address.
- isValid(String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Checks if a field has a valid url address.
- isValid(String) - Method in class org.apache.commons.validator.ValidatorResult
-
Indicate whether a specified validation passed.
- isValid() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Tests whether or not the validation passed.
- isValidAuthority(String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Returns true if the authority is properly formatted.
- isValidAuthority(String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Returns true if the authority is properly formatted.
- isValidCountryCodeTld(String) - Method in class org.apache.commons.validator.routines.DomainValidator
-
Returns true if the specified String
matches any
IANA-defined country code top-level domain.
- isValidDomain(String) - Method in class org.apache.commons.validator.EmailValidator
-
Deprecated.
Returns true if the domain component of an email address is valid.
- isValidDomain(String) - Method in class org.apache.commons.validator.routines.EmailValidator
-
Returns true if the domain component of an email address is valid.
- isValidFragment(String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Returns true if the given fragment is null or fragments are allowed.
- isValidFragment(String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Returns true if the given fragment is null or fragments are allowed.
- isValidGenericTld(String) - Method in class org.apache.commons.validator.routines.DomainValidator
-
Returns true if the specified String
matches any
IANA-defined generic top-level domain.
- isValidInet4Address(String) - Method in class org.apache.commons.validator.routines.InetAddressValidator
-
Validates an IPv4 address.
- isValidInet6Address(String) - Method in class org.apache.commons.validator.routines.InetAddressValidator
-
Validates an IPv6 address.
- isValidInfrastructureTld(String) - Method in class org.apache.commons.validator.routines.DomainValidator
-
Returns true if the specified String
matches any
IANA-defined infrastructure top-level domain.
- isValidIpAddress(String) - Method in class org.apache.commons.validator.EmailValidator
-
Deprecated.
Validates an IP address.
- isValidISBN10(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is a valid ISBN-10 code.
- isValidISBN13(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is a valid ISBN-13 code.
- isValidLocalTld(String) - Method in class org.apache.commons.validator.routines.DomainValidator
-
Returns true if the specified String
matches any
widely used "local" domains (localhost or localdomain).
- isValidPath(String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Returns true if the path is valid.
- isValidPath(String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Returns true if the path is valid.
- isValidQuery(String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Returns true if the query is null or it's a properly formatted query string.
- isValidQuery(String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Returns true if the query is null or it's a properly formatted query string.
- isValidScheme(String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Validate scheme.
- isValidScheme(String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.
Validate scheme.
- isValidSymbolicDomain(String) - Method in class org.apache.commons.validator.EmailValidator
-
Deprecated.
Validates a symbolic domain name.
- isValidTld(String) - Method in class org.apache.commons.validator.routines.DomainValidator
-
Returns true if the specified String
matches any
IANA-defined top-level domain.
- isValidUser(String) - Method in class org.apache.commons.validator.EmailValidator
-
Deprecated.
Returns true if the user component of an email address is valid.
- isValidUser(String) - Method in class org.apache.commons.validator.routines.EmailValidator
-
Returns true if the user component of an email address is valid.
- MASTERCARD - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
Option specifying that Mastercard cards are allowed.
- MASTERCARD - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that Mastercard cards are allowed.
- MASTERCARD_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Mastercard Card Validator
- match(String) - Method in class org.apache.commons.validator.routines.RegexValidator
-
Validate a value against the set of regular expressions
returning the array of matched groups.
- matches(String) - Method in interface org.apache.commons.validator.CreditCardValidator.CreditCardType
-
Deprecated.
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.
- maxLength(String, int, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value's adjusted length 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.
- 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(Number, Number) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(BigDecimal, double) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(BigInteger, long) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(Byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(Double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(Float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(int, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(Integer, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(Long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is less than or equal to a maximum.
- maxValue(Short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is less than or equal to a maximum.
- 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.
- minLength(String, int, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value's adjusted length 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.
- 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(Number, Number) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(BigDecimal, double) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(BigInteger, long) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(Byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(Double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(Float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(int, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(Integer, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(Long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is greater than or equal to a minimum.
- minValue(Short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is greater than or equal to a minimum.
- ModulusCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Abstract Modulus Check digit calculation/validation.
- ModulusCheckDigit(int) - Constructor for class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Construct a
CheckDigit
routine for a specified modulus.
- Msg - Class in org.apache.commons.validator
-
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
-
- 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.
- parse(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Checks if the value is valid against a specified pattern.
- parse(String, Format) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Parse the value with the specified Format
.
- parse(String, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Parse the value using the specified pattern.
- parse(String, Format) - Method in class org.apache.commons.validator.routines.CurrencyValidator
-
Parse the value with the specified Format
.
- parse(String, Format) - Method in class org.apache.commons.validator.routines.PercentValidator
-
Parse the value with the specified Format
.
- PERCENT_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Percent NumberFormat
type
- PercentValidator - Class in org.apache.commons.validator.routines
-
Percentage Validation and Conversion routines (java.math.BigDecimal
).
- PercentValidator() - Constructor for class org.apache.commons.validator.routines.PercentValidator
-
Construct a strict instance.
- PercentValidator(boolean) - Constructor for class org.apache.commons.validator.routines.PercentValidator
-
Construct an instance with the specified strict setting.
- position - Variable in class org.apache.commons.validator.Arg
-
This argument's position in the message.
- process(Map<String, String>, Map<String, String>, Map<String, Form>) - Method in class org.apache.commons.validator.Form
-
Processes all of the Form
's Field
s.
- process() - Method in class org.apache.commons.validator.ValidatorResources
-
Process the ValidatorResources
object.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Process the parsed value, performing any further validation
and type conversion required.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Process the parsed value, performing any further validation
and type conversion required.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Process the parsed value, performing any further validation
and type conversion required.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Convert the parsed value to a BigDecimal
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Convert the parsed value to a BigInteger
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Perform further validation and convert the Number
to
a Byte
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Convert the parsed Date
to a Calendar
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.DateValidator
-
Returns the parsed Date
unchanged.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Convert the parsed value to a Double
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Perform further validation and convert the Number
to
a Float
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Perform further validation and convert the Number
to
an Integer
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.LongValidator
-
Convert the parsed value to a Long
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Perform further validation and convert the Number
to
a Short
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Convert the parsed Date
to a Calendar
.
- property - Variable in class org.apache.commons.validator.Field
-
The Field's property name.
- SEDOL_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
-
Singleton SEDOL check digit instance
- SedolCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 10 SEDOL (UK Securities) Check Digit calculation/validation.
- SedolCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
-
Construct a modulus 11 Check Digit routine for ISBN-10.
- setBundle(String) - Method in class org.apache.commons.validator.Arg
-
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.Var
-
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.
- setClientValidation(boolean) - Method in class org.apache.commons.validator.Field
-
Sets the flag that determines whether client-side scripting should
be generated for this field.
- 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.Field
-
Sets the validation rules for this field as a comma separated list.
- setDepends(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the dependencies of the validator action.
- 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.Arg
-
Sets the key/value.
- 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.
- 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.Arg
-
Sets the name of the dependency.
- 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.Msg
-
Sets the name of the dependency.
- 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.Var
-
Sets the name of the variable.
- 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.Arg
-
Sets whether or not the key 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.Var
-
Sets whether or not the value 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.
- setValidator(IBANValidator.Validator) - Method in class org.apache.commons.validator.routines.IBANValidator
-
Installs a validator.
- setValidator(String, int, String) - Method in class org.apache.commons.validator.routines.IBANValidator
-
Installs a validator.
- 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
.
- ShortValidator - Class in org.apache.commons.validator.routines
-
Short Validation and Conversion routines (java.lang.Short
).
- ShortValidator() - Constructor for class org.apache.commons.validator.routines.ShortValidator
-
Construct a strict instance.
- ShortValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.ShortValidator
-
Construct an instance with the specified strict setting
and format type.
- STANDARD_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Standard NumberFormat
type
- stripComments(String) - Method in class org.apache.commons.validator.EmailValidator
-
Deprecated.
Recursively remove comments, and replace with a single space.
- sumDigits(int) - Static method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Add together the individual digits in a number.
- validate(Map<String, Object>, Map<String, ValidatorAction>) - Method in class org.apache.commons.validator.Field
-
Run the configured validations on this field.
- validate(String) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a BigDecimal
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a BigDecimal
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a BigDecimal
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a BigDecimal
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a BigInteger
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a BigInteger
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a BigInteger
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a BigInteger
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a Byte
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a Byte
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a Byte
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a Byte
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the default
Locale
and TimeZone
.
- validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
TimeZone
and default Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
pattern and default TimeZone
.
- validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
pattern and TimeZone
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
Locale
and default TimeZone
.
- validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
Locale
and TimeZone
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified pattern
and Locale
and the default TimeZone
.
- validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
pattern, and Locale
and TimeZone
.
- validate(String) - Method in class org.apache.commons.validator.routines.CodeValidator
-
Validate the code returning either the valid code or
null
if invalid.
- validate(String) - Method in class org.apache.commons.validator.routines.CreditCardValidator
-
Checks if the field is a valid credit card number.
- validate(String) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the default
Locale
and TimeZone
.
- validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
TimeZone
and default Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
pattern and default TimeZone
.
- validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
pattern and TimeZone
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
Locale
and default TimeZone
.
- validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
Locale
and TimeZone
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified pattern
and Locale
and the default TimeZone
.
- validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
pattern, and Locale
and TimeZone
.
- validate(String) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a Double
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a Double
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a Double
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a Double
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a Float
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a Float
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a Float
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a Float
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an Integer
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an Integer
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an Integer
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert a Integer
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is either a valid ISBN-10 or ISBN-13 code.
- validate(String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Check the code is valid ISSN code.
- validate(String) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a Long
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a Long
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a Long
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a Long
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.RegexValidator
-
Validate a value against the set of regular expressions
returning a String value of the aggregated groups.
- validate(String) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a Short
using the default
Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a Short
using the
specified pattern.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a Short
using the
specified Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a Short
using the
specified pattern and/ or Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the default Locale
and TimeZone
.
- validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified TimeZone
and default Locale
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern and
default TimeZone
.
- validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern
and TimeZone
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified Locale
default TimeZone
.
- validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified specified Locale
and TimeZone
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern and Locale
and the default TimeZone
.
- validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern, Locale
and TimeZone
.
- validate() - Method in class org.apache.commons.validator.Validator
-
Performs validations based on the configured resources.
- validateISBN10(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is a valid ISBN-10 code.
- validateISBN13(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is a valid ISBN-13 code.
- Validator(String, int, String) - Constructor for class org.apache.commons.validator.routines.IBANValidator.Validator
-
- Validator - Class in org.apache.commons.validator
-
Validations are processed by the validate method.
- 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.
- 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.
- ValidatorAction - Class in org.apache.commons.validator
-
Contains the information to dynamically create and run a validation
method.
- ValidatorAction() - Constructor for class org.apache.commons.validator.ValidatorAction
-
- ValidatorException - Exception in org.apache.commons.validator
-
The base exception for the Validator Framework.
- ValidatorException() - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with no specified detail message.
- ValidatorException(String) - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with the specified detail message.
- ValidatorResources - Class in org.apache.commons.validator
-
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
- ValidatorResources(URL) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from a URL.
- ValidatorResources(URL[]) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from several URL.
- ValidatorResult - Class in org.apache.commons.validator
-
This contains the results of a set of validation rules processed
on a JavaBean.
- ValidatorResult(Field) - Constructor for class org.apache.commons.validator.ValidatorResult
-
Constructs a ValidatorResult
with the associated field being
validated.
- ValidatorResult.ResultStatus - Class in org.apache.commons.validator
-
Contains the status of the validation.
- ValidatorResults - Class in org.apache.commons.validator
-
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 in org.apache.commons.validator.util
-
Basic utility methods.
- ValidatorUtils() - Constructor for class org.apache.commons.validator.util.ValidatorUtils
-
- Var - Class in org.apache.commons.validator
-
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 FormSet
s where full locale has been set.
- VERHOEFF_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
Singleton Verhoeff Check Digit instance
- VerhoeffCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Verhoeff (Dihedral) Check Digit calculation/validation.
- VerhoeffCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
- VISA - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
Option specifying that Visa cards are allowed.
- VISA - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that Visa cards are allowed.
- VISA_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Visa Card Validator
- VPAY - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that VPay (Visa) cards are allowed.
- VPAY_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
VPay (Visa) Card Validator