Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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 theForm
. - addForm(Form) - Method in class org.apache.commons.validator.FormSet
-
Add a
Form
to theFormSet
. - addFormSet(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a
FormSet
to thisValidatorResources
object. - addMsg(Msg) - Method in class org.apache.commons.validator.Field
-
Add a
Msg
to theField
. - addOldArgRules(Digester) - Method in class org.apache.commons.validator.ValidatorResources
-
Create a
Rule
to handlearg0-arg3
elements. - addValidatorAction(ValidatorAction) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a
ValidatorAction
to the resource. - addVar(String, String, String) - Method in class org.apache.commons.validator.Field
-
Add a
Var
, based on the values passed in, to theField
. - addVar(Var) - Method in class org.apache.commons.validator.Field
-
Add a
Var
to theField
. - adjustForLineEnding(String, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Calculate an adjustment amount for line endings.
- 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/ .
- allowedSchemes - Variable in class org.apache.commons.validator.routines.UrlValidator
-
The set of schemes that are allowed to be in a URL.
- allowedSchemes - Variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.The set of schemes that are allowed to be in a URL.
- allowFractions - Variable in class org.apache.commons.validator.routines.AbstractNumberValidator
- allowLocal - Variable in class org.apache.commons.validator.routines.DomainValidator
- allowLocal - Variable in class org.apache.commons.validator.routines.EmailValidator
- allowTld - Variable in class org.apache.commons.validator.routines.EmailValidator
- ALPHA_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- ALPHA_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- Amex() - Constructor for class org.apache.commons.validator.CreditCardValidator.Amex
-
Deprecated.
- 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.
- ARGS_PATTERN - Static variable in class org.apache.commons.validator.ValidatorResources
- arrayContains(String[], String) - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Check if a sorted array contains the specified key
- ArrayType() - Constructor for enum org.apache.commons.validator.routines.DomainValidator.ArrayType
- ATOM - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- ATOM - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- ATOM_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- ATOM_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- AUTHORITY_CHARS_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
- AUTHORITY_CHARS_REGEX - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- AUTHORITY_PATTERN - Static variable in class org.apache.commons.validator.routines.UrlValidator
- AUTHORITY_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- AUTHORITY_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
- AUTHORITY_REGEX - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- authorityValidator - Variable in class org.apache.commons.validator.routines.UrlValidator
-
Regular expressions used to manually validate authorities if IANA domain name validation isn't desired.
B
- BEAN_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the JavaBean is stored to perform validation on.
- BigDecimalValidator - Class in org.apache.commons.validator.routines
-
BigDecimal Validation and Conversion routines (
java.math.BigDecimal
). - BigDecimalValidator() - Constructor for class org.apache.commons.validator.routines.BigDecimalValidator
-
Construct a strict instance.
- BigDecimalValidator(boolean) - Constructor for class org.apache.commons.validator.routines.BigDecimalValidator
-
Construct an instance with the specified strict setting.
- BigDecimalValidator(boolean, int, boolean) - Constructor for class org.apache.commons.validator.routines.BigDecimalValidator
-
Construct an instance with the specified strict setting and format type.
- BigIntegerValidator - Class in org.apache.commons.validator.routines
-
BigInteger Validation and Conversion routines (
java.math.BigInteger
). - BigIntegerValidator() - Constructor for class org.apache.commons.validator.routines.BigIntegerValidator
-
Construct a strict instance.
- BigIntegerValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.BigIntegerValidator
-
Construct an instance with the specified strict setting and format type.
- buildKey(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
-
Builds a key to store the
FormSet
under based on it's language, country, and variant values. - buildLocale(String, String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Assembles a Locale code from the given parts.
- bundle - Variable in class org.apache.commons.validator.Arg
-
The resource bundle name that this Arg's
key
should be resolved in (optional). - bundle - Variable in class org.apache.commons.validator.Msg
-
The resource bundle name that this Msg's
key
should be resolved in (optional). - bundle - Variable in class org.apache.commons.validator.Var
-
The bundle for a variable (when resource = 'true').
- ByteValidator - Class in org.apache.commons.validator.routines
-
Byte Validation and Conversion routines (
java.lang.Byte
). - ByteValidator() - Constructor for class org.apache.commons.validator.routines.ByteValidator
-
Construct a strict instance.
- ByteValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.ByteValidator
-
Construct an instance with the specified strict setting and format type.
C
- 2.5 Comparing Dates and Times - Search tag in package org.apache.commons.validator.routines
- Section
- 3.4 Comparing Numbers - Search tag in package org.apache.commons.validator.routines
- Section
- 3.5 Currency Validation - Search tag in package org.apache.commons.validator.routines
- Section
- 4.3 Check Digit validation/calculation - Search tag in package org.apache.commons.validator.routines
- Section
- 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.
- calculateChecksum(String, boolean) - Method in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
Calculate the checksum.
- calculateCompareResult(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares the field from two calendars indicating whether the field for the first calendar is equal to, less than or greater than the field from the second calendar.
- calculateModulus(String) - Method in class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
-
Calculate the modulus 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.
- calculateQuarter(Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Calculate the quarter for the specified Calendar.
- 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.
- cardTypes - Variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.The CreditCardTypes that are allowed to pass validation.
- cardTypes - Variable in class org.apache.commons.validator.routines.CreditCardValidator
-
The CreditCardTypes that are allowed to pass validation.
- checkdigit - Variable in class org.apache.commons.validator.routines.CodeValidator
- CheckDigit - Interface in org.apache.commons.validator.routines.checkdigit
-
Check Digit calculation and validation.
- CheckDigitException - Exception Class in org.apache.commons.validator.routines.checkdigit
-
Check Digit calculation/validation error.
- CheckDigitException() - Constructor for exception class org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Construct an Exception with no message.
- CheckDigitException(String) - Constructor for exception class org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Construct an Exception with a message.
- CheckDigitException(String, Throwable) - Constructor for exception class org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Construct an Exception with a message and the underlying cause.
- chompLeadingDot(String) - Method in class org.apache.commons.validator.routines.DomainValidator
- classLoader - Variable in class org.apache.commons.validator.Validator
-
The class loader to use for instantiating application objects.
- classname - Variable in class org.apache.commons.validator.ValidatorAction
-
The full class name of the class containing the validation method associated with this action.
- 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.
- clearTLDOverrides() - Static method in class org.apache.commons.validator.routines.DomainValidator
- 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, 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(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, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular expression and
CheckDigit
. - 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. - 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, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Construct a code validator with a specified regular expression, validator 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) - 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.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, 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) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Times (hour, minute, second and millisecond - not date).
- 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.
- 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.
- constants - Variable in class org.apache.commons.validator.FormSet
-
A
Map
ofConstant
s using the name field of theConstant
as the key. - 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.
- convert - Variable in class org.apache.commons.validator.routines.ISBNValidator
- 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
-
Deprecated.This method is not part of Validator's public API. Validator will use it internally until FastHashMap references are removed. Use copyMap() instead.
- copyMap(Map<String, Object>) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
Makes a deep copy of a
Map
if the values areMsg
,Arg
, orVar
. - country - Variable in class org.apache.commons.validator.FormSet
-
Country component of
Locale
(optional). - COUNTRY_CODE_MINUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update the COUNTRY_CODE_TLDS_MINUS table containing deleted country code TLDs
- COUNTRY_CODE_PLUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update the COUNTRY_CODE_TLDS_PLUS table containing additonal country code TLDs
- COUNTRY_CODE_TLDS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- COUNTRY_CODE_TLDS_MINUS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- COUNTRY_CODE_TLDS_PLUS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- 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. - countryCode - Variable in class org.apache.commons.validator.routines.IBANValidator.Validator
- 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.
- createFormSet(ValidatorResources, String, String, String) - Method in class org.apache.commons.validator.FormSetFactory
-
Create or retrieve a
FormSet
based on the language, country and variant. - createObject(Attributes) - Method in class org.apache.commons.validator.FormSetFactory
-
Create or retrieve a
FormSet
for the specified attributes. - createValidators(IBANValidator.Validator[]) - Method in class org.apache.commons.validator.routines.IBANValidator
- CREDIT_CARD_VALIDATOR - Static variable in class org.apache.commons.validator.GenericValidator
-
CreditCardValidator used in wrapper method.
- CreditCardValidator - Class in org.apache.commons.validator
-
Deprecated.Use the new CreditCardValidator in the routines package. This class will be removed in a future release.
- CreditCardValidator - Class in org.apache.commons.validator.routines
-
Perform credit card validations.
- CreditCardValidator() - Constructor for class org.apache.commons.validator.CreditCardValidator
-
Deprecated.Create a new CreditCardValidator with default options.
- CreditCardValidator() - Constructor for class org.apache.commons.validator.routines.CreditCardValidator
-
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(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.Amex - Class in org.apache.commons.validator
-
Deprecated.
- CreditCardValidator.CreditCardType - Interface in org.apache.commons.validator
-
Deprecated.CreditCardType implementations define how validation is performed for one type/brand of credit card.
- CreditCardValidator.Discover - Class in org.apache.commons.validator
-
Deprecated.
- CreditCardValidator.Mastercard - Class in org.apache.commons.validator
-
Deprecated.
- CreditCardValidator.Visa - Class in org.apache.commons.validator
-
Deprecated.Change to support Visa Carte Blue used in France has been removed - see Bug 35926
- CURRENCY_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Currency
NumberFormat
type - CURRENCY_SYMBOL - Static variable in class org.apache.commons.validator.routines.CurrencyValidator
-
DecimalFormat's currency symbol
- 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.
D
- 2. Date and Time Validators - Search tag in package org.apache.commons.validator.routines
- Section
- 4.9 Domain Name Validation - Search tag in package org.apache.commons.validator.routines
- Section
- D_TABLE - Static variable in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
D - multiplication table
- DATE_VALIDATOR - Static variable in class org.apache.commons.validator.DateValidator
-
Deprecated.Singleton instance of this class.
- dateStyle - Variable in class org.apache.commons.validator.routines.AbstractCalendarValidator
- DateValidator - Class in org.apache.commons.validator
-
Deprecated.Use the new DateValidator, CalendarValidator or TimeValidator in the routines package. This class will be removed in a future release.
- DateValidator - Class in org.apache.commons.validator.routines
-
Date Validation and Conversion routines (
java.util.Date
). - DateValidator() - Constructor for class org.apache.commons.validator.DateValidator
-
Deprecated.Protected constructor for subclasses to use.
- DateValidator() - Constructor for class org.apache.commons.validator.routines.DateValidator
-
Construct a strict instance with short date style.
- DateValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.DateValidator
-
Construct an instance with the specified strict and date style parameters.
- DEFAULT_ARG - Static variable in class org.apache.commons.validator.Field
-
This is the value that will be used as a key if the
Arg
name field has no value. - DEFAULT_FORMATS - Static variable in class org.apache.commons.validator.routines.IBANValidator
- DEFAULT_IBAN_VALIDATOR - Static variable in class org.apache.commons.validator.routines.IBANValidator
- DEFAULT_SCHEMES - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
If no schemes are provided, default to this set.
- DEFAULT_URL_VALIDATOR - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Singleton instance of this class with default schemes and options.
- defaultFormSet - Variable in class org.apache.commons.validator.ValidatorResources
-
This is the default
FormSet
(without locale). - defaultLocale - Static variable in class org.apache.commons.validator.ValidatorResources
-
The default locale on our server.
- defaultSchemes - Variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.If no schemes are provided, default to this set.
- dependencyList - Variable in class org.apache.commons.validator.Field
-
Internal representation of this.depends String as a List.
- dependencyList - Variable in class org.apache.commons.validator.ValidatorAction
-
An internal List representation of the other
ValidatorAction
s this one depends on (if any). - depends - Variable in class org.apache.commons.validator.Field
-
A comma separated list of validator's this field depends on.
- depends - Variable in class org.apache.commons.validator.ValidatorAction
-
The other
ValidatorAction
s that this one depends on. - determineArgPosition(Arg) - Method in class org.apache.commons.validator.Field
-
Calculate the position of the Arg
- determineScale(NumberFormat) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Returns the multiplier of the
NumberFormat
. - DINERS - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that Diners cards are allowed.
- DINERS_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Diners Card Validator
- Discover() - Constructor for class org.apache.commons.validator.CreditCardValidator.Discover
-
Deprecated.
- DISCOVER - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.Option specifying that Discover cards are allowed.
- DISCOVER - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that Discover cards are allowed.
- DISCOVER_REGEX - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Discover Card regular expressions
- DISCOVER_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Discover Card Validator
- displayKey() - Method in class org.apache.commons.validator.FormSet
-
Returns a string representation of the object's key.
- DOMAIN_LABEL_REGEX - Static variable in class org.apache.commons.validator.routines.DomainValidator
- DOMAIN_NAME_REGEX - Static variable in class org.apache.commons.validator.routines.DomainValidator
- DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- DOMAIN_VALIDATOR - Static variable in class org.apache.commons.validator.routines.DomainValidator
-
Singleton instance of this validator, which doesn't consider local addresses as valid.
- DOMAIN_VALIDATOR_WITH_LOCAL - Static variable in class org.apache.commons.validator.routines.DomainValidator
-
Singleton instance of this validator, which does consider local addresses valid.
- domainRegex - Variable in class org.apache.commons.validator.routines.DomainValidator
-
RegexValidator for matching domains.
- DomainValidator - Class in org.apache.commons.validator.routines
-
Domain name validation routines.
- DomainValidator(boolean) - Constructor for class org.apache.commons.validator.routines.DomainValidator
-
Private constructor.
- DomainValidator.ArrayType - Enum in org.apache.commons.validator.routines
-
enum used by
DomainValidator.updateTLDOverride(ArrayType, String[])
to determine which override array to update. - DomainValidator.IDNBUGHOLDER - Class in org.apache.commons.validator.routines
- DoubleValidator - Class in org.apache.commons.validator.routines
-
Double Validation and Conversion routines (
java.lang.Double
). - DoubleValidator() - Constructor for class org.apache.commons.validator.routines.DoubleValidator
-
Construct a strict instance.
- DoubleValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.DoubleValidator
-
Construct an instance with the specified strict setting and format type.
E
- 4.7 Email Address Validation - Search tag in package org.apache.commons.validator.routines
- Section
- EAN13_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.EAN13CheckDigit
-
Singleton EAN-13 Check Digit instance
- EAN13CheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 10 EAN-13 / UPC / ISBN-13 Check Digit calculation/validation.
- EAN13CheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.EAN13CheckDigit
-
Construct a modulus 10 Check Digit routine for EAN/UPC.
- EMAIL_PATTERN - Static variable in class org.apache.commons.validator.routines.EmailValidator
- EMAIL_REGEX - Static variable in class org.apache.commons.validator.routines.EmailValidator
- EMAIL_VALIDATOR - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.Singleton instance of this class.
- EMAIL_VALIDATOR - Static variable in class org.apache.commons.validator.routines.EmailValidator
-
Singleton instance of this class, which doesn't consider local addresses as valid.
- EMAIL_VALIDATOR_WITH_LOCAL - Static variable in class org.apache.commons.validator.routines.EmailValidator
-
Singleton instance of this class, which does consider local addresses valid.
- EMAIL_VALIDATOR_WITH_LOCAL_WITH_TLD - Static variable in class org.apache.commons.validator.routines.EmailValidator
-
Singleton instance of this class, which does consider local addresses valid.
- EMAIL_VALIDATOR_WITH_TLD - Static variable in class org.apache.commons.validator.routines.EmailValidator
-
Singleton instance of this class, which doesn't consider local addresses as valid.
- EmailValidator - Class in org.apache.commons.validator
-
Deprecated.Use the new EmailValidator in the routines package. This class will be removed in a future release.
- EmailValidator - Class in org.apache.commons.validator.routines
-
Perform email validations.
- EmailValidator() - Constructor for class org.apache.commons.validator.EmailValidator
-
Deprecated.Protected constructor for subclasses to use.
- EmailValidator(boolean) - Constructor for class org.apache.commons.validator.routines.EmailValidator
-
Protected constructor for subclasses to use.
- EmailValidator(boolean, boolean) - Constructor for class org.apache.commons.validator.routines.EmailValidator
-
Protected constructor for subclasses to use.
- EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.validator.routines.DomainValidator
- ensureArgsCapacity(Arg) - Method in class org.apache.commons.validator.Field
-
Ensures that the args array can hold the given arg.
- equals(Object) - Method in class org.apache.commons.validator.util.Flags
-
Tests if two Flags objects are in the same state.
- executeValidationMethod(Field, Map<String, Object>, ValidatorResults, int) - Method in class org.apache.commons.validator.ValidatorAction
-
Dynamically runs the validation method for this validator and returns true if the data is valid.
F
- 2.3 Formatting - Search tag in package org.apache.commons.validator.routines
- Section
- 3.3 Formatting - Search tag in package org.apache.commons.validator.routines
- Section
- field - Variable in class org.apache.commons.validator.ValidatorResult
-
Field
being validated. - 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_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 - Variable in class org.apache.commons.validator.util.Flags
-
Represents the current flag state.
- 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) - 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, 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) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
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, String, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a
String
using the specified pattern. - format(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format a value with the specified
DateFormat
. - format(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format a value with the specified
Format
. - format(Object, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object into a
String
using the specified Locale. - 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, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a
String
using the default Locale. - 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, String, boolean) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the field is a valid date.
- formatDate(String, Locale) - 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.
- formatJavascriptFileName() - Method in class org.apache.commons.validator.ValidatorAction
- 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.
- formatType - Variable in class org.apache.commons.validator.routines.AbstractNumberValidator
- formatValidators - Variable in class org.apache.commons.validator.routines.IBANValidator
- formName - Variable in class org.apache.commons.validator.Validator
-
The name of the form to validate
- forms - Variable in class org.apache.commons.validator.FormSet
-
A
Map
ofForm
s using the name field of theForm
as the key. - FormSet - Class in org.apache.commons.validator
-
Holds a set of
Form
s stored associated with aLocale
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
G
- 4.4 General Code validation - Search tag in package org.apache.commons.validator.routines
- Section
- generateJsFunction() - Method in class org.apache.commons.validator.ValidatorAction
-
Used to generate the javascript name when it is not specified.
- generateKey() - Method in class org.apache.commons.validator.Field
-
Generate correct
key
value. - GENERIC_MINUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update the GENERIC_TLDS_MINUS table containing deleted generic TLDs
- GENERIC_PLUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update the GENERIC_TLDS_PLUS table containing additonal generic TLDs
- GENERIC_TLDS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- GENERIC_TLDS_MINUS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- GENERIC_TLDS_PLUS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- 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
-
Deprecated.Use getActions() to return the set of actions the isValid(name) and getResult(name) methods to determine the contents of ResultStatus.
- 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.
- getCalendar(Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Convert a
Date
to aCalendar
. - 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.
- getClassLoader(Map<String, Object>) - Method in class org.apache.commons.validator.ValidatorAction
-
Returns the ClassLoader set in the Validator contained in the parameter Map.
- 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() - Method in class org.apache.commons.validator.ValidatorResult
-
Returns the Field that was validated.
- getField(String) - Method in class org.apache.commons.validator.Form
-
Returns the Field with the given name or null if this Form has no such field.
- getFieldMap() - Method in class org.apache.commons.validator.Form
-
Returns a Map of String field keys to Field objects.
- getFieldOrder() - Method in class org.apache.commons.validator.Field
-
Gets the position of the
Field
in the validation list. - getFields() - Method in class org.apache.commons.validator.Form
-
A
List
ofField
s is returned as an unmodifiableList
. - 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(String, String, String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a
Form
based on the name of the form and theLocale
that most closely matches theLocale
passed in. - getForm(Locale, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a
Form
based on the name of the form and theLocale
that most closely matches theLocale
passed in. - getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Returns a
DateFormat
for the specified pattern and/orLocale
. - getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Returns a
Format
for the specified pattern and/orLocale
. - getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Returns a
NumberFormat
for the specified pattern and/orLocale
. - getFormat(Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Returns a
DateFormat
for the specified 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
ofForm
s is returned as an unmodifiableMap
with the key based on the form name. - getFormSet(String, String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a
FormSet
based on the language, country and variant. - 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.
- getIndexedProperty(Object) - Method in class org.apache.commons.validator.Field
-
Returns an indexed property from the object we're validating.
- getIndexedPropertySize(Object) - Method in class org.apache.commons.validator.Field
-
Returns the size of an indexed property from the object we're validating.
- 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() - 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() - 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() - 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.
- 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(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.ISBNValidator
-
Return a singleton instance of the ISBN validator specifying whether ISBN-10 codes should be converted to ISBN-13.
- 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.
- 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
. - getLog() - Method in class org.apache.commons.validator.FormSet
-
Accessor method for Log instance.
- getLog() - Method in class org.apache.commons.validator.FormSetFactory
-
Accessor method for Log instance.
- getLog() - Method in class org.apache.commons.validator.ValidatorAction
-
Accessor method for Log instance.
- getLog() - Method in class org.apache.commons.validator.ValidatorResources
-
Accessor method for Log instance.
- 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 unmodifiableMap
. - 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() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the message associated with the validator action.
- getMsg(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a message value.
- getMsgMap() - Method in class org.apache.commons.validator.Field
-
Returns a Map of String Msg names to Msg objects.
- getName() - Method in class org.apache.commons.validator.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.
- getParameterValues(Map<String, ? super Object>) - Method in class org.apache.commons.validator.ValidatorAction
-
Converts a List of parameter class names into their values contained in the parameters Map.
- getParent(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
-
Finds the given formSet's parent.
- 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() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Gets the result returned by a validation method.
- getResult(String) - Method in class org.apache.commons.validator.ValidatorResult
-
Return the result of a validation.
- getResultValueMap() - Method in class org.apache.commons.validator.ValidatorResults
-
Get a
Map
of anyObject
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
orVARIANT_FORMSET
. - getUseContextClassLoader() - Method in class org.apache.commons.validator.Validator
-
Return the boolean as to whether the context classloader should be used.
- getValidationClassInstance() - Method in class org.apache.commons.validator.ValidatorAction
-
Return an instance of the validation class or null if the validation method is static so does not require an instance to be executed.
- 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 theValidatorAction
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 unmodifiableMap
. - 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. - GROUP - Static variable in class org.apache.commons.validator.routines.ISBNValidator
H
- hAction - Variable in class org.apache.commons.validator.ValidatorResult
-
Map of results.
- hActions - Variable in class org.apache.commons.validator.ValidatorResources
-
Deprecated.Subclasses should use getActions() instead.
- handleIndexedField(Field, int, Object[]) - Method in class org.apache.commons.validator.ValidatorAction
-
Modifies the paramValue array with indexed fields.
- handleMissingAction(String) - Method in class org.apache.commons.validator.Field
-
Called when a validator name is used in a depends clause but there is no know ValidatorAction configured for that name.
- hashCode() - Method in class org.apache.commons.validator.util.Flags
-
The hash code is based on the current state of the flags.
- hasValidator(String) - Method in class org.apache.commons.validator.routines.IBANValidator
-
Does the class have the required validator?
- hConstants - Variable in class org.apache.commons.validator.ValidatorResources
-
Deprecated.Subclasses should use getConstants() instead.
- hFields - Variable in class org.apache.commons.validator.Form
-
Deprecated.Subclasses should use getFieldMap() instead.
- hFormSets - Variable in class org.apache.commons.validator.ValidatorResources
-
Deprecated.Subclasses should use getFormSets() instead.
- hMsgs - Variable in class org.apache.commons.validator.Field
-
Deprecated.Subclasses should use getMsgMap() instead.
- hostnameRegex - Variable in class org.apache.commons.validator.routines.DomainValidator
-
RegexValidator for matching a local hostname
- hResults - Variable in class org.apache.commons.validator.ValidatorResults
-
Map of validation results.
- hVars - Variable in class org.apache.commons.validator.Field
-
Deprecated.Subclasses should use getVarMap() instead.
I
- 4.5 ISBN validation - Search tag in package org.apache.commons.validator.routines
- Section
- 4.6 IP Address Validation - Search tag in package org.apache.commons.validator.routines
- Section
- 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
- IDN_TOASCII_PRESERVES_TRAILING_DOTS - Static variable in class org.apache.commons.validator.routines.DomainValidator.IDNBUGHOLDER
- IDNBUGHOLDER() - Constructor for class org.apache.commons.validator.routines.DomainValidator.IDNBUGHOLDER
- Implementations - Search tag in interface org.apache.commons.validator.routines.checkdigit.CheckDigit
- Section
- 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
- INFRASTRUCTURE_TLDS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- 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.
- initDigester() - Method in class org.apache.commons.validator.ValidatorResources
-
Initialize the digester.
- instance - Variable in class org.apache.commons.validator.ValidatorAction
-
If the java method matching the correct signature isn't static, the instance is stored in the action.
- 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.
- Introduction - Search tag in package org.apache.commons.validator
- Section
- inUse - Static variable in class org.apache.commons.validator.routines.DomainValidator
- INV_TABLE - Static variable in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
inv: inverse table
- IP_DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- IP_DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.routines.EmailValidator
- IP_DOMAIN_REGEX - Static variable in class org.apache.commons.validator.routines.EmailValidator
- IPV4_REGEX - Static variable in class org.apache.commons.validator.routines.InetAddressValidator
- ipv4Validator - Variable in class org.apache.commons.validator.routines.InetAddressValidator
-
IPv4 RegexValidator
- IPV6_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
- 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.
- ISBN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Singleton combined ISBN-10 / ISBN-13 Check Digit instance
- ISBN_VALIDATOR - Static variable in class org.apache.commons.validator.routines.ISBNValidator
-
ISBN Code Validator (which converts ISBN-10 codes to ISBN-13
- ISBN_VALIDATOR_NO_CONVERT - Static variable in class org.apache.commons.validator.routines.ISBNValidator
-
ISBN Code Validator (which converts ISBN-10 codes to ISBN-13
- 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
- ISBN10_REGEX - Static variable in class org.apache.commons.validator.routines.ISBNValidator
-
ISBN-10 consists of 4 groups of numbers separated by either dashes (-) or spaces.
- 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.
- isbn10Validator - Variable in class org.apache.commons.validator.routines.ISBNValidator
-
ISBN-10 Code Validator
- ISBN13_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Singleton ISBN-13 Check Digit instance
- ISBN13_REGEX - Static variable in class org.apache.commons.validator.routines.ISBNValidator
-
ISBN-13 consists of 5 groups of numbers separated by either dashes (-) or spaces.
- isbn13Validator - Variable in class org.apache.commons.validator.routines.ISBNValidator
-
ISBN-13 Code Validator
- 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
-
Deprecated.Use the new ISBNValidator in the routines package
- ISBNValidator - Class in org.apache.commons.validator.routines
-
ISBN-10 and ISBN-13 Code Validation.
- ISBNValidator() - Constructor for class org.apache.commons.validator.ISBNValidator
-
Deprecated.Default Constructor.
- 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, String, boolean) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field is a valid date.
- isDate(String, Locale) - 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, orfalse
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(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) - 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) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is within a specified range.
- 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(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) - 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) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is within a specified range.
- 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(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) - 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) - Method in class org.apache.commons.validator.routines.ShortValidator
-
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(Float, float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
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(Number, Number, Number) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
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(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.
- 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.routines.UrlValidator
-
Tests whether the given flag is off.
- 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.routines.UrlValidator
-
Tests whether the given flag is on.
- isOn(long) - Method in class org.apache.commons.validator.util.Flags
-
Tests whether the given flag is on.
- isOn(long, long) - Method in class org.apache.commons.validator.routines.CreditCardValidator
-
Tests whether the given flag is on.
- isOnlyASCII(String) - Static method in class org.apache.commons.validator.routines.DomainValidator
- 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
- ISSN_REGEX - Static variable in class org.apache.commons.validator.routines.ISSNValidator
- ISSN_VALIDATOR - Static variable in class org.apache.commons.validator.routines.ISSNValidator
-
ISSN Code Validator
- 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 - Static variable in class org.apache.commons.validator.routines.ISSNValidator
- 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() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Tests whether or not the validation passed.
- isValid(Object) - Method in class org.apache.commons.validator.ValidatorAction
-
If the result object is a
Boolean
, it will return its value. - isValid(String) - Method in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.Checks if the field is a valid credit card number.
- 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) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Validate using the default
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
orfalse
. - 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(String, String) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Validate using the specified pattern.
- isValid(String, String, boolean) - Method in class org.apache.commons.validator.DateValidator
-
Deprecated.Checks if the field is a valid date.
- isValid(String, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
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, Locale) - 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.routines.AbstractFormatValidator
-
Validate using the specified
Locale
. - 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.
- isValidDomainSyntax(String) - Method in class org.apache.commons.validator.routines.DomainValidator
- 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.
J
- javascript - Variable in class org.apache.commons.validator.ValidatorAction
-
An optional field to containing a JavaScript representation of the java method assocated with this action.
- javascriptAlreadyLoaded() - Method in class org.apache.commons.validator.ValidatorAction
- jsFunction - Variable in class org.apache.commons.validator.ValidatorAction
-
An optional field to contain the class path to be used to retrieve the JavaScript function.
- jsFunctionName - Variable in class org.apache.commons.validator.ValidatorAction
-
An optional field to contain the name to be used if JavaScript is generated.
- jsType - Variable in class org.apache.commons.validator.Var
-
The optional JavaScript type of the variable.
- JSTYPE_INT - Static variable in class org.apache.commons.validator.Var
-
Int Constant for JavaScript type.
- JSTYPE_REGEXP - Static variable in class org.apache.commons.validator.Var
-
Regular Expression Constant for JavaScript type.
- JSTYPE_STRING - Static variable in class org.apache.commons.validator.Var
-
String Constant for JavaScript type.
K
- keepsTrailingDot() - Static method in class org.apache.commons.validator.routines.DomainValidator.IDNBUGHOLDER
- key - Variable in class org.apache.commons.validator.Arg
-
The key or value of the argument.
- key - Variable in class org.apache.commons.validator.Field
-
The Field's unique key.
- key - Variable in class org.apache.commons.validator.Msg
-
The key or value of the argument.
L
- language - Variable in class org.apache.commons.validator.FormSet
-
Language component of
Locale
(required). - LANGUAGE_FORMSET - Static variable in class org.apache.commons.validator.FormSet
-
This is the type of
FormSet
s where only language locale is specified. - LEGAL_ASCII_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- lengthOfIBAN - Variable in class org.apache.commons.validator.routines.IBANValidator.Validator
- lFields - Variable in class org.apache.commons.validator.Form
-
List of
Field
s. - loadJavascriptFunction() - Method in class org.apache.commons.validator.ValidatorAction
-
Load the javascript function specified by the given path.
- loadParameterClasses(ClassLoader) - Method in class org.apache.commons.validator.ValidatorAction
-
Converts a List of parameter class names into their Class objects.
- loadValidationClass(ClassLoader) - Method in class org.apache.commons.validator.ValidatorAction
-
Load the Class object for the configured validation class name.
- loadValidationMethod() - Method in class org.apache.commons.validator.ValidatorAction
-
Load the Method object for the configured validation method name.
- LOCAL_TLDS - Static variable in class org.apache.commons.validator.routines.DomainValidator
- LOCALE_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
Locale
is stored. - log - Variable in class org.apache.commons.validator.FormSet
-
Logging
- log - Variable in class org.apache.commons.validator.FormSetFactory
-
Logging
- log - Variable in class org.apache.commons.validator.ValidatorAction
-
Logger.
- log - Variable in class org.apache.commons.validator.ValidatorResources
- LOG - Static variable in class org.apache.commons.validator.GenericTypeValidator
- LOG - Static variable in class org.apache.commons.validator.util.ValidatorUtils
- LongValidator - Class in org.apache.commons.validator.routines
-
Long Validation and Conversion routines (
java.lang.Long
). - LongValidator() - Constructor for class org.apache.commons.validator.routines.LongValidator
-
Construct a strict instance.
- LongValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.LongValidator
-
Construct an instance with the specified strict setting and format type.
- LUHN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.LuhnCheckDigit
-
Singleton Luhn Check Digit instance
- LUHN_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Luhn checkdigit validator for the card numbers.
- luhnCheck(String) - Method in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.Checks for a valid credit card number.
- LuhnCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 10 Luhn Check Digit calculation/validation.
- LuhnCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.LuhnCheckDigit
-
Construct a modulus 10 Luhn Check Digit routine.
M
- Mastercard() - Constructor for class org.apache.commons.validator.CreditCardValidator.Mastercard
-
Deprecated.
- 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 class org.apache.commons.validator.CreditCardValidator.Amex
-
Deprecated.
- matches(String) - Method in interface org.apache.commons.validator.CreditCardValidator.CreditCardType
-
Deprecated.Returns true if the card number matches this type of credit card.
- matches(String) - Method in class org.apache.commons.validator.CreditCardValidator.Discover
-
Deprecated.
- matches(String) - Method in class org.apache.commons.validator.CreditCardValidator.Mastercard
-
Deprecated.
- matches(String) - Method in class org.apache.commons.validator.CreditCardValidator.Visa
-
Deprecated.
- matchRegexp(String, String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value matches the regular expression.
- matchURL(String) - Method in class org.apache.commons.validator.routines.UrlValidator
- MAX - Static variable in class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
- MAX_LEN - Static variable in class org.apache.commons.validator.routines.IBANValidator.Validator
- maxLength - Variable in class org.apache.commons.validator.routines.CodeValidator
- 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(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) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is less than or equal to the max.
- 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) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is less than or equal to the max.
- 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) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is less than or equal to the max.
- 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(long, long) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is less than or equal to the max.
- 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(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(Float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
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(Number, Number) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
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(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.
- 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.
- merged - Variable in class org.apache.commons.validator.FormSet
-
Flag indicating if this formSet has been merged with its parent (higher rank in Locale hierarchy).
- method - Variable in class org.apache.commons.validator.ValidatorAction
-
The full method name of the validation to be performed.
- methodParameterList - Variable in class org.apache.commons.validator.ValidatorAction
-
An internal List representation of all the validation method's parameters defined in the methodParams String.
- methodParams - Variable in class org.apache.commons.validator.ValidatorAction
-
The method signature of the validation method.
- MIN_LEN - Static variable in class org.apache.commons.validator.routines.IBANValidator.Validator
- minLength - Variable in class org.apache.commons.validator.routines.CodeValidator
- 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(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) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is greater than or equal to the min.
- 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) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is greater than or equal to the min.
- 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) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is greater than or equal to the min.
- 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(long, long) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value is greater than or equal to the min.
- 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(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(Float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
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(Number, Number) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
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(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.
- modulus - Variable in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
- MODULUS - Static variable in class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
- 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 - Variable in class org.apache.commons.validator.ValidatorAction
-
The default error message associated with this action.
- 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 theValidatorAction
(aka pluggable validator). - Msg() - Constructor for class org.apache.commons.validator.Msg
N
- 3 Numeric Validators - Search tag in package org.apache.commons.validator.routines
- Section
- name - Variable in class org.apache.commons.validator.Arg
-
The name dependency that this argument goes with (optional).
- name - Variable in class org.apache.commons.validator.Form
-
The name/key the set of validation rules is stored under.
- name - Variable in class org.apache.commons.validator.Msg
-
The name dependency that this argument goes with (optional).
- name - Variable in class org.apache.commons.validator.ValidatorAction
-
The name of the validation.
- name - Variable in class org.apache.commons.validator.Var
-
The name of the variable.
- NO_FRAGMENTS - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Enabling this options disallows any URL fragments.
- NO_FRAGMENTS - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.Enabling this options disallows any URL fragments.
- NONE - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.Option specifying that no cards are allowed.
- NONE - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that no cards are allowed.
O
- 1. Overview - Search tag in package org.apache.commons.validator.routines
- Section
- 2.1 Overview - Search tag in package org.apache.commons.validator.routines
- Section
- 3.1 Overview - Search tag in package org.apache.commons.validator.routines
- Section
- 4.1 Overview - Search tag in package org.apache.commons.validator.routines
- Section
- 4. Other Validators - Search tag in package org.apache.commons.validator.routines
- Section
- onlyReturnErrors - Variable in class org.apache.commons.validator.Validator
-
Set this to true to not return Fields that pass validation.
- onlyReturnErrors(Map<String, Object>) - Method in class org.apache.commons.validator.ValidatorAction
-
Returns the onlyReturnErrors setting in the Validator contained in the parameter Map.
- options - Variable in class org.apache.commons.validator.routines.UrlValidator
-
Holds the set of current validation options.
- options - Variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.Holds the set of current validation options.
- org.apache.commons.validator - package org.apache.commons.validator
-
The Validator package provides validation for JavaBeans based on an xml file.
- org.apache.commons.validator.routines - package org.apache.commons.validator.routines
-
This package contains independant validation routines.
- org.apache.commons.validator.routines.checkdigit - package org.apache.commons.validator.routines.checkdigit
-
This package contains Check Digit validation/calculation routines.
- org.apache.commons.validator.util - package org.apache.commons.validator.util
-
This package contains utility classes used by Commons Validator.
- Overview - Search tag in package org.apache.commons.validator
- Section
P
- 3.6 Percent Validation - Search tag in package org.apache.commons.validator.routines
- Section
- P_TABLE - Static variable in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
P - permutation table
- 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.
- parameterClasses - Variable in class org.apache.commons.validator.ValidatorAction
-
The Class objects for each entry in methodParameterList.
- 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) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Parse the value using the specified pattern.
- 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, 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
. - PARSE_AUTHORITY_EXTRA - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Should always be empty.
- PARSE_AUTHORITY_EXTRA - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.Should always be empty.
- PARSE_AUTHORITY_HOST_IP - Static variable in class org.apache.commons.validator.routines.UrlValidator
- PARSE_AUTHORITY_HOST_IP - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- PARSE_AUTHORITY_IPV6 - Static variable in class org.apache.commons.validator.routines.UrlValidator
- PARSE_AUTHORITY_PORT - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- PARSE_URL_AUTHORITY - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Includes hostname/ip and port number.
- PARSE_URL_AUTHORITY - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.Includes hostname/ip and port number.
- PARSE_URL_FRAGMENT - Static variable in class org.apache.commons.validator.routines.UrlValidator
- PARSE_URL_FRAGMENT - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- PARSE_URL_PATH - Static variable in class org.apache.commons.validator.routines.UrlValidator
- PARSE_URL_PATH - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- PARSE_URL_QUERY - Static variable in class org.apache.commons.validator.routines.UrlValidator
- PARSE_URL_QUERY - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- PARSE_URL_SCHEME - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Schema/Protocol (ie.
- PARSE_URL_SCHEME - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.Schema/Protocol (ie.
- PATH_PATTERN - Static variable in class org.apache.commons.validator.routines.UrlValidator
- PATH_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- PATH_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
- patterns - Variable in class org.apache.commons.validator.routines.RegexValidator
- PERCENT_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Percent
NumberFormat
type - PERCENT_SYMBOL - Static variable in class org.apache.commons.validator.routines.PercentValidator
-
DecimalFormat's percent (thousand multiplier) symbol
- 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.
- Pluggable Validator Example - Search tag in package org.apache.commons.validator
- Section
- POINT_ZERO_ONE - Static variable in class org.apache.commons.validator.routines.PercentValidator
- PORT_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- position - Variable in class org.apache.commons.validator.Arg
-
This argument's position in the message.
- POSITION_WEIGHT - Static variable in class org.apache.commons.validator.routines.checkdigit.ABANumberCheckDigit
-
weighting given to digits depending on their right position
- POSITION_WEIGHT - Static variable in class org.apache.commons.validator.routines.checkdigit.CUSIPCheckDigit
-
weighting given to digits depending on their right position
- POSITION_WEIGHT - Static variable in class org.apache.commons.validator.routines.checkdigit.EAN13CheckDigit
-
weighting given to digits depending on their right position
- POSITION_WEIGHT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISINCheckDigit
-
weighting given to digits depending on their right position
- POSITION_WEIGHT - Static variable in class org.apache.commons.validator.routines.checkdigit.LuhnCheckDigit
-
weighting given to digits depending on their right position
- POSITION_WEIGHT - Static variable in class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
-
weighting given to digits depending on their right position
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Amex
-
Deprecated.
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Discover
-
Deprecated.
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Mastercard
-
Deprecated.
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Visa
-
Deprecated.
- process() - Method in class org.apache.commons.validator.ValidatorResources
-
Process the
ValidatorResources
object. - process(Map<String, String>) - Method in class org.apache.commons.validator.FormSet
-
Processes all of the
Form
s. - process(Map<String, String>, Map<String, String>) - Method in class org.apache.commons.validator.Field
-
Replace constants with values in fields and process the depends field to create the dependency
Map
. - process(Map<String, String>, Map<String, String>, Map<String, Form>) - Method in class org.apache.commons.validator.Form
-
Processes all of the
Form
'sField
s. - processArg(String, String) - Method in class org.apache.commons.validator.Field
-
Replace the arg
Collection
key value with the key/value pairs passed in. - processed - Variable in class org.apache.commons.validator.Form
-
Whether or not the this
Form
was processed for replacing variables in strings with their values. - processed - Variable in class org.apache.commons.validator.FormSet
-
Whether or not the this
FormSet
was processed for replacing variables in strings with their values. - processForms() - Method in class org.apache.commons.validator.ValidatorResources
-
Process the
Form
objects. - processMessageComponents(String, String) - Method in class org.apache.commons.validator.Field
-
Replace the args key value with the key/value pairs passed in.
- 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 aByte
. - processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Convert the parsed
Date
to aCalendar
. - 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 aFloat
. - processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Perform further validation and convert the
Number
to anInteger
. - 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 aShort
. - processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Convert the parsed
Date
to aCalendar
. - processVars(String, String) - Method in class org.apache.commons.validator.Field
-
Replace the vars value with the key/value pairs passed in.
- property - Variable in class org.apache.commons.validator.Field
-
The Field's property name.
- PUBLISHER - Static variable in class org.apache.commons.validator.routines.ISBNValidator
Q
- QUERY_PATTERN - Static variable in class org.apache.commons.validator.routines.UrlValidator
- QUERY_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- QUERY_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
- QUOTED_USER - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- QUOTED_USER - Static variable in class org.apache.commons.validator.routines.EmailValidator
R
- 4.2 Regular Expression Validation - Search tag in package org.apache.commons.validator.routines
- Section
- readJavascriptFile(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Read a javascript function from a file.
- regexValidator - Variable in class org.apache.commons.validator.routines.CodeValidator
- RegexValidator - Class in org.apache.commons.validator.routines
-
Regular Expression validation (using JDK 1.4+ regex support).
- RegexValidator(String) - Constructor for class org.apache.commons.validator.routines.RegexValidator
-
Construct a case sensitive validator for a single regular expression.
- RegexValidator(String[]) - Constructor for class org.apache.commons.validator.routines.RegexValidator
-
Construct a case sensitive validator that matches any one of the set of regular expressions.
- RegexValidator(String[], boolean) - Constructor for class org.apache.commons.validator.routines.RegexValidator
-
Construct a validator that matches any one of the set of regular expressions with the specified case sensitivity.
- RegexValidator(String, boolean) - Constructor for class org.apache.commons.validator.routines.RegexValidator
-
Construct a validator for a single regular expression with the specified case sensitivity.
- REGISTRATIONS - Static variable in class org.apache.commons.validator.ValidatorResources
-
The set of public identifiers, and corresponding resource names, for the versions of the configuration file DTDs that we know about.
- replace(String, String, String) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
Replace part of a
String
with another value. - resource - Variable in class org.apache.commons.validator.Arg
-
Whether or not the key is a message resource (optional).
- resource - Variable in class org.apache.commons.validator.Msg
-
Whether or not the key is a message resource (optional).
- resource - Variable in class org.apache.commons.validator.Var
-
Whether the variable is a resource [false]
- resources - Variable in class org.apache.commons.validator.Validator
-
The Validator Resources.
- Resources - Search tag in package org.apache.commons.validator
- Section
- result - Variable in class org.apache.commons.validator.ValidatorResult.ResultStatus
- ResultStatus(boolean, Object) - Constructor for class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Construct a Result status.
- ResultStatus(ValidatorResult, boolean, Object) - Constructor for class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Deprecated.Use
ResultStatus(boolean, Object)
instead - runDependentValidators(ValidatorAction, ValidatorResults, Map<String, ValidatorAction>, Map<String, Object>, int) - Method in class org.apache.commons.validator.Field
-
Calls all of the validators that this validator depends on.
S
- SCHEME_PATTERN - Static variable in class org.apache.commons.validator.routines.UrlValidator
- SCHEME_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.Protocol (ie.
- SCHEME_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
Protocol scheme (e.g.
- 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.
- SEP - Static variable in class org.apache.commons.validator.routines.ISBNValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.Arg
- serialVersionUID - Static variable in class org.apache.commons.validator.Field
- serialVersionUID - Static variable in class org.apache.commons.validator.Form
- serialVersionUID - Static variable in class org.apache.commons.validator.FormSet
- serialVersionUID - Static variable in class org.apache.commons.validator.GenericTypeValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.GenericValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.Msg
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.AbstractCalendarValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.AbstractFormatValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.BigDecimalValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.BigIntegerValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.ByteValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.CalendarValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.ABANumberCheckDigit
- serialVersionUID - Static variable in exception class org.apache.commons.validator.routines.checkdigit.CheckDigitException
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.CUSIPCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.EAN13CheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.IBANCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.ISINCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.LuhnCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.CodeValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.CurrencyValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.DateValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.DomainValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.DoubleValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.EmailValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.FloatValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.InetAddressValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.IntegerValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.ISBNValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.ISSNValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.LongValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.PercentValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.RegexValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.ShortValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.TimeValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.routines.UrlValidator
- serialVersionUID - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- serialVersionUID - Static variable in class org.apache.commons.validator.util.Flags
- serialVersionUID - Static variable in class org.apache.commons.validator.Validator
- serialVersionUID - Static variable in class org.apache.commons.validator.ValidatorAction
- serialVersionUID - Static variable in exception class org.apache.commons.validator.ValidatorException
- serialVersionUID - Static variable in class org.apache.commons.validator.ValidatorResources
- serialVersionUID - Static variable in class org.apache.commons.validator.ValidatorResult.ResultStatus
- serialVersionUID - Static variable in class org.apache.commons.validator.ValidatorResult
- serialVersionUID - Static variable in class org.apache.commons.validator.ValidatorResults
- serialVersionUID - Static variable in class org.apache.commons.validator.Var
- 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(String, int, String) - Method in class org.apache.commons.validator.routines.IBANValidator
-
Installs a validator.
- setValidator(IBANValidator.Validator) - 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.
- SPECIAL_CHARS - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- SPECIAL_CHARS - Static variable in class org.apache.commons.validator.routines.EmailValidator
- SPECIAL_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- STANDARD_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Standard
NumberFormat
type - strict - Variable in class org.apache.commons.validator.routines.AbstractFormatValidator
- 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.
T
- 2.4 Time Zones - Search tag in package org.apache.commons.validator.routines
- Section
- Table of Contents - Search tag in package org.apache.commons.validator.routines
- Section
- timeStyle - Variable in class org.apache.commons.validator.routines.AbstractCalendarValidator
- TimeValidator - Class in org.apache.commons.validator.routines
-
Time Validation and Conversion routines (
java.util.Calendar
). - TimeValidator() - Constructor for class org.apache.commons.validator.routines.TimeValidator
-
Construct a strict instance with short time style.
- TimeValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.TimeValidator
-
Construct an instance with the specified strict and time style parameters.
- TITLE - Static variable in class org.apache.commons.validator.routines.ISBNValidator
- TLD_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- toCheckDigit(int) - Method in class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
-
Convert an integer value to a character at a specified position.
- toCheckDigit(int) - Method in class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
- toCheckDigit(int) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Convert an integer value to a check digit.
- toInt(char, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.CUSIPCheckDigit
-
Convert a character at a specified position to an integer value.
- toInt(char, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
-
Convert a character at a specified position to an integer value.
- toInt(char, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
- toInt(char, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Convert a character at a specified position to an integer value.
- toInt(char, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
-
Convert a character at a specified position to an integer value.
- TOKEN_END - Static variable in class org.apache.commons.validator.Field
-
The end of a token.
- TOKEN_INDEXED - Static variable in class org.apache.commons.validator.Field
-
This indicates an indexed property is being referenced.
- TOKEN_START - Static variable in class org.apache.commons.validator.Field
-
The start of a token.
- TOKEN_VAR - Static variable in class org.apache.commons.validator.Field
-
A Vriable token.
- TOP_LABEL_REGEX - Static variable in class org.apache.commons.validator.routines.DomainValidator
- toString() - Method in class org.apache.commons.validator.Arg
-
Returns a string representation of the object.
- toString() - Method in class org.apache.commons.validator.Field
-
Returns a string representation of the object.
- toString() - Method in class org.apache.commons.validator.Form
-
Returns a string representation of the object.
- toString() - Method in class org.apache.commons.validator.FormSet
-
Returns a string representation of the object.
- toString() - Method in class org.apache.commons.validator.Msg
-
Returns a string representation of the object.
- toString() - Method in class org.apache.commons.validator.routines.RegexValidator
-
Provide a String representation of this validator.
- toString() - Method in class org.apache.commons.validator.util.Flags
-
Returns a 64 length String with the first flag on the right and the 64th flag on the left.
- toString() - Method in class org.apache.commons.validator.ValidatorAction
-
Returns a string representation of the object.
- toString() - Method in class org.apache.commons.validator.Var
-
Returns a string representation of the object.
- turnOff(long) - Method in class org.apache.commons.validator.util.Flags
-
Turns off the given flag.
- turnOffAll() - Method in class org.apache.commons.validator.util.Flags
-
Turn off all flags.
- turnOn(long) - Method in class org.apache.commons.validator.util.Flags
-
Turns on the given flag.
- turnOnAll() - Method in class org.apache.commons.validator.util.Flags
-
Turn on all 64 flags.
U
- 4.8 URL Validation - Search tag in package org.apache.commons.validator.routines
- Section
- unicodeToASCII(String) - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Converts potentially Unicode input to punycode.
- updateTLDOverride(DomainValidator.ArrayType, String[]) - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Update one of the TLD override arrays.
- URL_PATTERN - Static variable in class org.apache.commons.validator.routines.UrlValidator
- URL_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- URL_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
-
This expression derived/taken from the BNF for URI (RFC2396).
- URL_REGEX - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.This expression derived/taken from the BNF for URI (RFC2396).
- URL_VALIDATOR - Static variable in class org.apache.commons.validator.GenericValidator
-
UrlValidator used in wrapper method.
- UrlValidator - Class in org.apache.commons.validator.routines
-
URL Validation routines.
- UrlValidator - Class in org.apache.commons.validator
-
Deprecated.Use the new UrlValidator in the routines package. This class will be removed in a future release.
- UrlValidator() - Constructor for class org.apache.commons.validator.routines.UrlValidator
-
Create a UrlValidator with default properties.
- UrlValidator() - Constructor for class org.apache.commons.validator.UrlValidator
-
Deprecated.Create a UrlValidator with default properties.
- UrlValidator(int) - Constructor for class org.apache.commons.validator.UrlValidator
-
Deprecated.Initialize a UrlValidator with the given validation options.
- UrlValidator(long) - Constructor for class org.apache.commons.validator.routines.UrlValidator
-
Initialize a UrlValidator with the given validation options.
- UrlValidator(String[]) - Constructor for class org.apache.commons.validator.routines.UrlValidator
-
Behavior of validation is modified by passing in several strings options:
- UrlValidator(String[]) - Constructor for class org.apache.commons.validator.UrlValidator
-
Deprecated.Behavior of validation is modified by passing in several strings options:
- UrlValidator(String[], int) - Constructor for class org.apache.commons.validator.UrlValidator
-
Deprecated.Behavour of validation is modified by passing in options:
- UrlValidator(String[], long) - Constructor for class org.apache.commons.validator.routines.UrlValidator
-
Behavior of validation is modified by passing in options:
- UrlValidator(String[], RegexValidator, long) - Constructor for class org.apache.commons.validator.routines.UrlValidator
-
Customizable constructor.
- UrlValidator(RegexValidator, long) - Constructor for class org.apache.commons.validator.routines.UrlValidator
-
Initialize a UrlValidator with the given validation options.
- Usage Example - Search tag in package org.apache.commons.validator
- Section
- useContextClassLoader - Variable in class org.apache.commons.validator.Validator
-
Whether or not to use the Context ClassLoader when loading classes for instantiating new objects.
- USER_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- USER_PATTERN - Static variable in class org.apache.commons.validator.routines.EmailValidator
- USER_REGEX - Static variable in class org.apache.commons.validator.routines.EmailValidator
- USERINFO_CHARS_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
- USERINFO_FIELD_REGEX - Static variable in class org.apache.commons.validator.routines.UrlValidator
V
- 2.2 Validating a Date Value - Search tag in package org.apache.commons.validator.routines
- Section
- 3.2 Validating a Numeric Value - Search tag in package org.apache.commons.validator.routines
- Section
- valid - Variable in class org.apache.commons.validator.ValidatorResult.ResultStatus
- VALID_CHARS - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- VALID_CHARS - Static variable in class org.apache.commons.validator.routines.EmailValidator
- VALID_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
Deprecated.
- validate() - Method in class org.apache.commons.validator.Validator
-
Performs validations based on the configured resources.
- validate(String) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a
BigDecimal
using the defaultLocale
. - validate(String) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a
BigInteger
using the defaultLocale
. - validate(String) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a
Byte
using the defaultLocale
. - validate(String) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the defaultLocale
andTimeZone
. - 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 defaultLocale
andTimeZone
. - validate(String) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a
Double
using the defaultLocale
. - validate(String) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a
Float
using the defaultLocale
. - validate(String) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an
Integer
using the defaultLocale
. - 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 defaultLocale
. - 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 defaultLocale
. - validate(String) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the default
Locale
andTimeZone
. - validate(String, String) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a
BigDecimal
using the specified pattern. - validate(String, String) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a
BigInteger
using the specified pattern. - validate(String, String) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a
Byte
using the specified pattern. - validate(String, String) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the specified pattern and defaultTimeZone
. - validate(String, String) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a
Date
using the specified pattern and defaultTimeZone
. - validate(String, String) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a
Double
using the specified pattern. - validate(String, String) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a
Float
using the specified pattern. - validate(String, String) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an
Integer
using the specified pattern. - validate(String, String) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a
Long
using the specified pattern. - validate(String, String) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a
Short
using the specified pattern. - 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, Locale) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a
BigDecimal
using the specified pattern and/ orLocale
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a
BigInteger
using the specified pattern and/ orLocale
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a
Byte
using the specified pattern and/ orLocale
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the specified pattern andLocale
and the defaultTimeZone
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a
Date
using the specified pattern andLocale
and the defaultTimeZone
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a
Double
using the specified pattern and/ orLocale
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a
Float
using the specified pattern and/ orLocale
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert a
Integer
using the specified pattern and/ orLocale
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a
Long
using the specified pattern and/ orLocale
. - validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a
Short
using the specified pattern and/ orLocale
. - 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 defaultTimeZone
. - validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the specified pattern, andLocale
andTimeZone
. - validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a
Date
using the specified pattern, andLocale
andTimeZone
. - validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern,
Locale
andTimeZone
. - validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the specified pattern andTimeZone
. - validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a
Date
using the specified pattern andTimeZone
. - 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.BigDecimalValidator
-
Validate/convert a
BigDecimal
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a
BigInteger
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a
Byte
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the specifiedLocale
and defaultTimeZone
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a
Date
using the specifiedLocale
and defaultTimeZone
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a
Double
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a
Float
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an
Integer
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a
Long
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a
Short
using the specifiedLocale
. - validate(String, Locale) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified
Locale
defaultTimeZone
. - validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the specifiedLocale
andTimeZone
. - validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a
Date
using the specifiedLocale
andTimeZone
. - validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified specified
Locale
andTimeZone
. - validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a
Calendar
using the specifiedTimeZone
and defaultLocale
. - validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a
Date
using the specifiedTimeZone
and defaultLocale
. - validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified
TimeZone
and defaultLocale
. - validate(Map<String, Object>, Map<String, ValidatorAction>) - Method in class org.apache.commons.validator.Field
-
Run the configured validations on this field.
- validate(Map<String, Object>, Map<String, ValidatorAction>, int) - Method in class org.apache.commons.validator.Form
-
Validate all Fields in this Form on the given page and below.
- validate(Map<String, Object>, Map<String, ValidatorAction>, int, String) - Method in class org.apache.commons.validator.Form
-
Validate all Fields in this Form on the given page and below.
- validateForRule(ValidatorAction, ValidatorResults, Map<String, ValidatorAction>, Map<String, Object>, int) - Method in class org.apache.commons.validator.Field
-
Executes the given ValidatorAction and all ValidatorActions that it depends on.
- 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.
- validationClass - Variable in class org.apache.commons.validator.ValidatorAction
-
The Class object loaded from the classname.
- validationMethod - Variable in class org.apache.commons.validator.ValidatorAction
-
The Method object loaded from the method name.
- validator - Variable in class org.apache.commons.validator.routines.IBANValidator.Validator
- Validator - Class in org.apache.commons.validator
-
Validations are processed by the validate method.
- Validator(String, int, String) - Constructor for class org.apache.commons.validator.routines.IBANValidator.Validator
- Validator(ValidatorResources) - Constructor for class org.apache.commons.validator.Validator
-
Construct a
Validator
that will use theValidatorResources
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 theValidatorResources
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 theValidatorResources
passed in to retrieve pluggable validators the different sets of validation rules. - VALIDATOR - Static variable in class org.apache.commons.validator.routines.BigDecimalValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.BigIntegerValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.ByteValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.CalendarValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.CurrencyValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.DateValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.DoubleValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.FloatValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.InetAddressValidator
-
Singleton instance of this class.
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.IntegerValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.LongValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.PercentValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.ShortValidator
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.TimeValidator
- VALIDATOR_ACTION_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
ValidatorAction
is stored under. - VALIDATOR_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
Validator
is stored under. - VALIDATOR_RESULTS_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
ValidatorResults
is stored under. - VALIDATOR_RULES - Static variable in class org.apache.commons.validator.ValidatorResources
-
Name of the digester validator rules file
- 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
- Validator Example - Search tag in package org.apache.commons.validator
- Section
- ValidatorException - Exception Class in org.apache.commons.validator
-
The base exception for the Validator Framework.
- ValidatorException() - Constructor for exception class org.apache.commons.validator.ValidatorException
-
Constructs an Exception with no specified detail message.
- ValidatorException(String) - Constructor for exception class 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 associatedLocale
. - 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
- value - Variable in class org.apache.commons.validator.Var
-
The key or value the variable.
- valueOf(String) - Static method in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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 - Variable in class org.apache.commons.validator.FormSet
-
Variant component of
Locale
(optional). - 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() - Constructor for class org.apache.commons.validator.CreditCardValidator.Visa
-
Deprecated.
- 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
W
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ABANumberCheckDigit
-
Calculates the weighted value of a character in the code at a specified position.
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.CUSIPCheckDigit
-
Calculates the weighted value of a charcter in the code at a specified position.
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.EAN13CheckDigit
-
Calculates the weighted value of a character in the code at a specified position.
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
-
Calculates the weighted value of a charcter in the code at a specified position.
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ISINCheckDigit
-
Calculates the weighted value of a charcter in the code at a specified position.
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.LuhnCheckDigit
-
Calculates the weighted value of a charcter in the code at a specified position.
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Calculates the weighted value of a character in the code at a specified position.
- weightedValue(int, int, int) - Method in class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
-
Calculates the weighted value of a charcter in the code at a specified position.
- WORD - Static variable in class org.apache.commons.validator.EmailValidator
-
Deprecated.
- WORD - Static variable in class org.apache.commons.validator.routines.EmailValidator
X
- XML Example - Search tag in package org.apache.commons.validator
- Section
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form