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
-
Constructs 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
-
Constructs 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
-
Constructs 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
-
Constructs 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
. - 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
. - 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 https://localhost/ or https://machine/ .
- AMEX - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.Option specifying that American Express cards are allowed.
- AMEX - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that American Express cards are allowed.
- AMEX_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
American Express (Amex) Card Validator 34xxxx (15) 37xxxx (15)
- 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.
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
-
Constructs 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
-
Constructs 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. - 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). - 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
-
Constructs 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
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.CASNumberCheckDigit
-
Calculate a modulus Check Digit for a code which does not yet have one.
- 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.ECNumberCheckDigit
-
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.IBANCheckDigit
-
Calculate the Check Digit for an IBAN code.
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Calculate an ISBN-10 or ISBN-13 check digit, depending on the length of the code.
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Calculate a modulus Check Digit for a code which does not yet have one.
- calculate(String) - Method in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
Calculate a Verhoeff Check Digit for a code.
- calculateModulus(String, boolean) - Method in class org.apache.commons.validator.routines.checkdigit.ISINCheckDigit
-
Calculate the modulus for an ISIN code.
- calculateModulus(String, boolean) - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Calculate the modulus for a code.
- calculateModulus(String, boolean) - Method in class org.apache.commons.validator.routines.checkdigit.SedolCheckDigit
-
Calculate the modulus for an SEDOL code.
- CalendarValidator - Class in org.apache.commons.validator.routines
-
Calendar Validation and Conversion routines (
java.util.Calendar
). - CalendarValidator() - Constructor for class org.apache.commons.validator.routines.CalendarValidator
-
Constructs a strict instance with short date style.
- CalendarValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.CalendarValidator
-
Constructs an instance with the specified strict and date style parameters.
- CASNumberCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 10 CAS Registry Number (or Chemical Abstracts Service (CAS RN)) Check Digit calculation/validation.
- CheckDigit - Interface in org.apache.commons.validator.routines.checkdigit
-
Check Digit calculation and validation.
- CheckDigitException - Exception in org.apache.commons.validator.routines.checkdigit
-
Check Digit calculation/validation error.
- CheckDigitException() - Constructor for exception org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Constructs an Exception with no message.
- CheckDigitException(String) - Constructor for exception org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Constructs an Exception with a message.
- CheckDigitException(String, Throwable) - Constructor for exception org.apache.commons.validator.routines.checkdigit.CheckDigitException
-
Constructs an Exception with a message and the underlying cause.
- classLoader - Variable in class org.apache.commons.validator.Validator
-
The class loader to use for instantiating application objects.
- clear() - Method in class org.apache.commons.validator.util.Flags
-
Turn off all flags.
- clear() - Method in class org.apache.commons.validator.Validator
-
Clears the form name, resources that were added, and the page that was set (if any).
- clear() - Method in class org.apache.commons.validator.ValidatorResults
-
Clear all results recorded by this object.
- clientValidation - Variable in class org.apache.commons.validator.Field
-
The flag that indicates whether scripting should be generated by the client for client-side validation.
- clone() - Method in class org.apache.commons.validator.Arg
-
Creates and returns a copy of this object.
- clone() - Method in class org.apache.commons.validator.Field
-
Creates and returns a copy of this object.
- clone() - Method in class org.apache.commons.validator.Msg
-
Creates and returns a copy of this object.
- clone() - Method in class org.apache.commons.validator.util.Flags
-
Clone this Flags object.
- clone() - Method in class org.apache.commons.validator.Var
-
Creates and returns a copy of this object.
- CodeValidator - Class in org.apache.commons.validator.routines
-
Generic Code Validation providing format, minimum/maximum length and
CheckDigit
validations. - CodeValidator(String, int, int, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Constructs 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
-
Constructs a code validator with a specified regular expression, length and
CheckDigit
. - CodeValidator(String, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Constructs a code validator with a specified regular expression and
CheckDigit
. - CodeValidator(RegexValidator, int, int, CheckDigit) - Constructor for class org.apache.commons.validator.routines.CodeValidator
-
Constructs 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
-
Constructs 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
-
Constructs 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.
- containsAction(String) - Method in class org.apache.commons.validator.ValidatorResult
-
Indicate whether a specified validator is in the Result.
- containsField(String) - Method in class org.apache.commons.validator.Form
-
Returns true if this Form contains a Field with the given name.
- convertToEAN13(String, String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Converts 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_CODE_MINUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update (or get a copy of) 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 (or get a copy of) the COUNTRY_CODE_TLDS_PLUS table containing additonal country code TLDs
- COUNTRY_CODE_RO - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Gets a copy of the country code table
- COUNTRY_FORMSET - Static variable in class org.apache.commons.validator.FormSet
-
This is the type of
FormSet
s where only language and country locale are specified. - countToken(String, String) - Method in class org.apache.commons.validator.routines.UrlValidator
-
Returns the number of times the token appears in the target.
- countToken(String, String) - Method in class org.apache.commons.validator.UrlValidator
-
Deprecated.Returns the number of times the token appears in the target.
- createObject(Attributes) - Method in class org.apache.commons.validator.FormSetFactory
-
Create or retrieve a
FormSet
for the specified attributes. - CreditCardRange(String, String, int[]) - Constructor for class org.apache.commons.validator.routines.CreditCardValidator.CreditCardRange
-
Create a credit card range specifier for use in validation of the number syntax including the IIN range.
- CreditCardRange(String, String, int, int) - Constructor for class org.apache.commons.validator.routines.CreditCardValidator.CreditCardRange
-
Create a credit card range specifier for use in validation of the number syntax including the IIN range.
- 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
-
Constructs 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
-
Constructs a new CreditCardValidator with the specified options.
- CreditCardValidator(CodeValidator[]) - Constructor for class org.apache.commons.validator.routines.CreditCardValidator
-
Constructs a new CreditCardValidator with the specified
CodeValidator
s. - CreditCardValidator(CodeValidator[], CreditCardValidator.CreditCardRange[]) - Constructor for class org.apache.commons.validator.routines.CreditCardValidator
-
Constructs a new CreditCardValidator with the specified
CodeValidator
s andCreditCardValidator.CreditCardRange
s. - CreditCardValidator(CreditCardValidator.CreditCardRange[]) - Constructor for class org.apache.commons.validator.routines.CreditCardValidator
-
Constructs a new CreditCardValidator with the specified
CreditCardValidator.CreditCardRange
s. - CreditCardValidator.CreditCardRange - Class in org.apache.commons.validator.routines
-
Class that represents a credit card range.
- CreditCardValidator.CreditCardType - Interface in org.apache.commons.validator
-
Deprecated.CreditCardType implementations define how validation is performed for one type/brand of credit card.
- CURRENCY_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Currency
NumberFormat
type - CurrencyValidator - Class in org.apache.commons.validator.routines
-
Currency Validation and Conversion routines (
java.math.BigDecimal
). - CurrencyValidator() - Constructor for class org.apache.commons.validator.routines.CurrencyValidator
-
Constructs a strict instance.
- CurrencyValidator(boolean, boolean) - Constructor for class org.apache.commons.validator.routines.CurrencyValidator
-
Constructs 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
-
Constructs a CUSIP Identifier Check Digit routine.
D
- 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
-
Constructs a strict instance with short date style.
- DateValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.DateValidator
-
Constructs an instance with the specified strict and date style parameters.
- DEFAULT_IBAN_VALIDATOR - Static variable in class org.apache.commons.validator.routines.IBANValidator
-
The singleton instance which uses the default formats
- 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.
- depends - Variable in class org.apache.commons.validator.Field
-
A comma separated list of validator's this field depends on.
- 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 300xxx - 305xxx (14) 3095xx (14) 36xxxx (14) 38xxxx (14) 39xxxx (14)
- 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_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.
- DomainValidator - Class in org.apache.commons.validator.routines
-
Domain name validation routines.
- DomainValidator.ArrayType - Enum in org.apache.commons.validator.routines
-
enum used by
DomainValidator.updateTLDOverride(ArrayType, String[])
to determine which override array to update / fetch - DomainValidator.Item - Class in org.apache.commons.validator.routines
-
Used to specify overrides when creating a new class.
- 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
-
Constructs 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
- 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
-
Constructs a modulus 10 Check Digit routine for EAN/UPC.
- ECNumberCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 11 EC number Check Digit calculation/validation.
- 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.
- EmailValidator(boolean, boolean, DomainValidator) - Constructor for class org.apache.commons.validator.routines.EmailValidator
-
constructor for creating instances with the specified domainValidator
- equals(Object) - Method in class org.apache.commons.validator.util.Flags
-
Tests if two Flags objects are in the same state.
- extractFromEAN13(String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Extracts an ISSN code from an ISSN-EAN-13 code.
F
- 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 - 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
-
Constructs 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.
- formatLong(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a long primitive.
- formatLong(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a long primitive.
- formatShort(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a short primitive.
- formatShort(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a short primitive.
- formName - Variable in class org.apache.commons.validator.Validator
-
The name of the form to validate
- FormSet - Class in org.apache.commons.validator
-
Holds a set of
Form
s stored associated with 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
- 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 (or get a copy of) the GENERIC_TLDS_MINUS table containing deleted generic TLDs
- GENERIC_PLUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update (or get a copy of) the GENERIC_TLDS_PLUS table containing additonal generic TLDs
- GENERIC_RO - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Gets a copy of the generic TLDS table
- genericCreditCardValidator() - Static method in class org.apache.commons.validator.routines.CreditCardValidator
-
Creates a new generic CreditCardValidator which validates the syntax and check digit only.
- genericCreditCardValidator(int) - Static method in class org.apache.commons.validator.routines.CreditCardValidator
-
Creates a new generic CreditCardValidator which validates the syntax and check digit only.
- genericCreditCardValidator(int, int) - Static method in class org.apache.commons.validator.routines.CreditCardValidator
-
Creates a new generic CreditCardValidator which validates the syntax and check digit only.
- 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
-
Gets an Iterator of the action names contained in this Result.
- getArg(int) - Method in class org.apache.commons.validator.Field
-
Gets the default
Arg
object at the given position. - getArg(String, int) - Method in class org.apache.commons.validator.Field
-
Gets the
Arg
object at the given position. - getArgs(String) - Method in class org.apache.commons.validator.Field
-
Retrieves the Args for the given validator name.
- getBundle() - Method in class org.apache.commons.validator.Arg
-
Returns the resource bundle name.
- getBundle() - Method in class org.apache.commons.validator.Msg
-
Returns the resource bundle name.
- getBundle() - Method in class org.apache.commons.validator.Var
-
Returns the resource bundle name.
- getCheckDigit() - Method in class org.apache.commons.validator.routines.CodeValidator
-
Gets the check digit validation routine.
- getClassLoader() - Method in class org.apache.commons.validator.Validator
-
Gets the class loader to be used for instantiating application objects when required.
- getClassname() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the class of the validator action.
- getConstants() - Method in class org.apache.commons.validator.ValidatorResources
-
Returns a Map of String constant names to their String values.
- getCountry() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the country component of
Locale
. - getDefaultValidators() - Method in class org.apache.commons.validator.routines.IBANValidator
-
Gets a copy of the default Validators.
- getDependencyList() - Method in class org.apache.commons.validator.Field
-
Gets an unmodifiable
List
of the dependencies in the same order they were defined in parameter passed to the setDepends() method. - getDependencyList() - Method in class org.apache.commons.validator.ValidatorAction
-
Returns the dependent validator names as an unmodifiable
List
. - getDepends() - Method in class org.apache.commons.validator.Field
-
Gets the validation rules for this field as a comma separated list.
- getDepends() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the dependencies of the validator action as a comma separated list of validator names.
- getExtends() - Method in class org.apache.commons.validator.Form
-
Gets the name/key of the parent set of validation rules.
- getField() - 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. - getFormSets() - Method in class org.apache.commons.validator.ValidatorResources
-
Returns a Map of String locale keys to Lists of their FormSets.
- getIndexedListProperty() - Method in class org.apache.commons.validator.Field
-
Gets the indexed property name of the field.
- getIndexedProperty() - Method in class org.apache.commons.validator.Field
-
Gets the indexed property name of the field.
- getInstance() - Static method in class org.apache.commons.validator.DateValidator
-
Deprecated.Returns the Singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.EmailValidator
-
Deprecated.Returns the Singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ByteValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.CalendarValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.checkdigit.CASNumberCheckDigit
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.checkdigit.ECNumberCheckDigit
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.CurrencyValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.DateValidator
-
Gets the 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
-
Gets the 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
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.IBANValidator
-
Gets the 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
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ISBNValidator
-
Gets the 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
-
Gets the singleton instance of the ISSN validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.LongValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.PercentValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ShortValidator
-
Gets the singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.TimeValidator
-
Gets the 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
-
Gets the singleton instance of the ISBN validator specifying whether ISBN-10 codes should be converted to ISBN-13.
- getInstance(boolean) - Static method in class org.apache.commons.validator.routines.ISINValidator
-
Gets the singleton instance of the ISIN validator.
- getInstance(boolean, boolean) - Static method in class org.apache.commons.validator.routines.EmailValidator
-
Returns the Singleton instance of this validator, with local validation as required.
- getInstance(boolean, List<DomainValidator.Item>) - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Returns a new instance of this validator.
- getJavascript() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the JavaScript equivalent of the Java class and method associated with this action.
- getJsFunctionName() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the JavaScript function name.
- getJsType() - Method in class org.apache.commons.validator.Var
-
Gets the JavaScript type of the variable.
- getKey() - Method in class org.apache.commons.validator.Arg
-
Gets the key/value.
- getKey() - Method in class org.apache.commons.validator.Field
-
Gets a unique key based on the property and indexedProperty fields.
- getKey() - Method in class org.apache.commons.validator.Msg
-
Gets the key/value.
- getLanguage() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the language component of
Locale
. - getMaxLength() - Method in class org.apache.commons.validator.routines.CodeValidator
-
Gets 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
-
Gets the minimum length of the code.
- getModulus() - Method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Gets 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.
- getOverrides(DomainValidator.ArrayType) - Method in class org.apache.commons.validator.routines.DomainValidator
-
Gets a copy of an instance level internal array.
- 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.
- getPatterns() - Method in class org.apache.commons.validator.routines.RegexValidator
-
Gets a copy of the Patterns.
- 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
-
Gets the set of property names for which at least one message has been recorded.
- getRegexValidator() - Method in class org.apache.commons.validator.routines.CodeValidator
-
Gets the regular expression validator.
- getRegexValidator() - Method in class org.apache.commons.validator.routines.IBANValidator.Validator
-
Gets the RegexValidator.
- 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
-
Gets the result of a validation.
- getResultValueMap() - Method in class org.apache.commons.validator.ValidatorResults
-
Gets a
Map
of anyObject
s returned from validation routines. - getTLDEntries(DomainValidator.ArrayType) - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Gets a copy of a class level internal array.
- 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
-
Gets the boolean as to whether the context classloader should be used.
- getValidator(String) - Method in class org.apache.commons.validator.routines.IBANValidator
-
Gets the Validator for a given IBAN
- getValidatorAction(String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a
ValidatorAction
based on it's name. - getValidatorActions() - Method in class org.apache.commons.validator.ValidatorResources
-
Gets 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.
H
- hAction - Variable in class org.apache.commons.validator.ValidatorResult
-
Map of results.
- hActions - Variable in class org.apache.commons.validator.ValidatorResources
-
Deprecated.Subclasses should use getActions() instead.
- hashCode() - Method in class org.apache.commons.validator.util.Flags
-
The hash code is based on the current state of the flags.
- 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.
- 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
- 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
-
Constructs 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
-
The validation class
- 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_RO - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Gets a copy of the infrastructure table
- inherit - Variable in class org.apache.commons.validator.Form
-
The name/key of the form which this form extends from.
- init() - Method in class org.apache.commons.validator.ValidatorAction
-
Initialize based on set.
- IntegerValidator - Class in org.apache.commons.validator.routines
-
Integer Validation and Conversion routines (
java.lang.Integer
). - IntegerValidator() - Constructor for class org.apache.commons.validator.routines.IntegerValidator
-
Constructs a strict instance.
- IntegerValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.IntegerValidator
-
Construct an instance with the specified strict setting and format type.
- isAllowFractions() - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Indicates whether the number being validated is a decimal or integer.
- isAllowLocal() - Method in class org.apache.commons.validator.routines.DomainValidator
-
Does this instance allow local addresses?
- 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
- ISBN10_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
-
Singleton ISBN-10 Check Digit instance
- ISBN10_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Singleton ISBN-10 Check Digit instance
- ISBN10CheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Modulus 11 ISBN-10 Check Digit calculation/validation.
- ISBN10CheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.ISBN10CheckDigit
-
Constructs a modulus 11 Check Digit routine for ISBN-10.
- ISBN13_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISBNCheckDigit
-
Singleton ISBN-13 Check Digit instance
- 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
-
Constructs an ISBN validator which converts ISBN-10 codes to ISBN-13.
- ISBNValidator(boolean) - Constructor for class org.apache.commons.validator.routines.ISBNValidator
-
Constructs 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
-
Gets
true
if there are no messages recorded in this collection, orfalse
otherwise. - isExtending() - Method in class org.apache.commons.validator.Form
-
Gets 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
-
Constructs an ISIN Identifier 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.
- ISINValidator - Class in org.apache.commons.validator.routines
-
ISIN (International Securities Identifying Number) validation.
- isLong(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a long primitive.
- isMerged() - Method in class org.apache.commons.validator.FormSet
-
Has this formSet been merged?
- isOff(long) - Method in class org.apache.commons.validator.util.Flags
-
Tests whether the given flag is off.
- isOn(long) - Method in class org.apache.commons.validator.util.Flags
-
Tests whether the given flag is on.
- isProcessed() - Method in class org.apache.commons.validator.Form
-
Whether or not the this
Form
was processed for replacing variables in strings with their values. - isProcessed() - Method in class org.apache.commons.validator.FormSet
-
Whether or not the this
FormSet
was processed for replacing variables in strings with their values. - isResource() - Method in class org.apache.commons.validator.Arg
-
Tests whether or not the key is a resource key or literal value.
- isResource() - Method in class org.apache.commons.validator.Msg
-
Tests whether or not the key is a resource key or literal value.
- isResource() - Method in class org.apache.commons.validator.Var
-
Tests whether or not the value is a resource key or literal value.
- isShort(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a short primitive.
- ISSN_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
-
Singleton ISSN Check Digit instance
- ISSNCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
International Standard Serial Number (ISSN) is an eight-digit serial number used to uniquely identify a serial publication.
- ISSNCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.ISSNCheckDigit
-
Creates the instance using a checkdigit modulus of 11.
- 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(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 class org.apache.commons.validator.routines.checkdigit.CASNumberCheckDigit
-
Validate a modulus check digit for a code.
- 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.ECNumberCheckDigit
-
Validate a modulus check digit for a 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.ModulusTenCheckDigit
-
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 IPv4 or IPv6 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.ISINValidator
-
Tests whether the code is a valid ISIN code after any transformation by the validate routine.
- isValid(String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Tests whether 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
-
Validates 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.
- 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.
- Item(DomainValidator.ArrayType, String...) - Constructor for class org.apache.commons.validator.routines.DomainValidator.Item
-
Constructs a new instance.
J
- JSTYPE_INT - Static variable in class org.apache.commons.validator.Var
-
Int Constant for JavaScript type.
- JSTYPE_REGEXP - Static variable in class org.apache.commons.validator.Var
-
Regular Expression Constant for JavaScript type.
- JSTYPE_STRING - Static variable in class org.apache.commons.validator.Var
-
String Constant for JavaScript type.
K
- key - Variable in class org.apache.commons.validator.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_FORMSET - Static variable in class org.apache.commons.validator.FormSet
-
This is the type of
FormSet
s where only language locale is specified. - 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.
- LOCAL_MINUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update (or get a copy of) the LOCAL_TLDS_MINUS table containing deleted local TLDs
- LOCAL_PLUS - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Update (or get a copy of) the LOCAL_TLDS_PLUS table containing additional local TLDs
- LOCAL_RO - Enum constant in enum org.apache.commons.validator.routines.DomainValidator.ArrayType
-
Gets a copy of the local table
- LOCALE_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
Locale
is stored. - 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
-
Constructs 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
- 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
-
Constructs a modulus 10 Luhn Check Digit routine.
M
- 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_PRE_OCT2016 - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Deprecated.for use until Oct 2016 only
- MASTERCARD_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Mastercard Card Validator
- MASTERCARD_VALIDATOR_PRE_OCT2016 - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Deprecated.for use until Oct 2016 only
- match(String) - Method in class org.apache.commons.validator.routines.RegexValidator
-
Validates a value against the set of regular expressions returning the array of matched groups.
- matches(String) - Method in interface org.apache.commons.validator.CreditCardValidator.CreditCardType
-
Deprecated.Returns true if the card number matches this type of credit card.
- matchRegexp(String, String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value matches the regular expression.
- maxLength(String, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value's length is less than or equal to the max.
- maxLength(String, int, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value's adjusted length is less than or equal to the max.
- maxValue(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.
- 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.
- 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
-
Constructs a
CheckDigit
routine for a specified modulus. - ModulusTenCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
General Modulus 10 Check Digit calculation/validation.
- ModulusTenCheckDigit(int[]) - Constructor for class org.apache.commons.validator.routines.checkdigit.ModulusTenCheckDigit
-
Constructs a modulus 10 Check Digit routine with the specified weighting from left to right.
- ModulusTenCheckDigit(int[], boolean) - Constructor for class org.apache.commons.validator.routines.checkdigit.ModulusTenCheckDigit
-
Constructs a modulus 10 Check Digit routine with the specified weighting, indicating whether its from the left or right.
- ModulusTenCheckDigit(int[], boolean, boolean) - Constructor for class org.apache.commons.validator.routines.checkdigit.ModulusTenCheckDigit
-
Constructs a modulus 10 Check Digit routine with the specified weighting, indicating whether its from the left or right and whether the weighted digits should be summed.
- 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
- 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).
- 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
- onlyReturnErrors - Variable in class org.apache.commons.validator.Validator
-
Sets this to true to not return Fields that pass validation.
- org.apache.commons.validator - package org.apache.commons.validator
-
The Validator package provides validation for JavaBeans based on an xml file.
- org.apache.commons.validator.routines - package org.apache.commons.validator.routines
-
This package contains independent 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.
P
- page - Variable in class org.apache.commons.validator.Field
-
The Page Number
- page - Variable in class org.apache.commons.validator.Validator
-
The current page number to validate.
- parameters - Variable in class org.apache.commons.validator.Validator
-
Maps validation method parameter class names to the objects to be passed into the method.
- 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
. - PERCENT_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Percent
NumberFormat
type - PercentValidator - Class in org.apache.commons.validator.routines
-
Percentage Validation and Conversion routines (
java.math.BigDecimal
). - PercentValidator() - Constructor for class org.apache.commons.validator.routines.PercentValidator
-
Constructs a strict instance.
- PercentValidator(boolean) - Constructor for class org.apache.commons.validator.routines.PercentValidator
-
Constructs an instance with the specified strict setting.
- position - Variable in class org.apache.commons.validator.Arg
-
This argument's position in the message.
- process() - Method in class org.apache.commons.validator.ValidatorResources
-
Process the
ValidatorResources
object. - process(Map<String, String>, Map<String, String>, Map<String, Form>) - Method in class org.apache.commons.validator.Form
-
Processes all of the
Form
'sField
s. - 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
. - property - Variable in class org.apache.commons.validator.Field
-
The Field's property name.
R
- RegexValidator - Class in org.apache.commons.validator.routines
-
Regular Expression validation (using the JRE's regular expression support).
- RegexValidator(String) - Constructor for class org.apache.commons.validator.routines.RegexValidator
-
Constructs a case sensitive validator for a single regular expression.
- RegexValidator(String...) - Constructor for class org.apache.commons.validator.routines.RegexValidator
-
Constructs a case sensitive validator that matches any one in the array of regular expressions.
- RegexValidator(String[], boolean) - Constructor for class org.apache.commons.validator.routines.RegexValidator
-
Constructs 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
-
Constructs a validator for a single regular expression with the specified case sensitivity.
- 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).
- resources - Variable in class org.apache.commons.validator.Validator
-
The Validator Resources.
- ResultStatus(boolean, Object) - Constructor for class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Constructs a Result status.
- ResultStatus(ValidatorResult, boolean, Object) - Constructor for class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Deprecated.Use
ResultStatus(boolean, Object)
instead
S
- 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
-
Constructs a modulus 10 Check Digit routine for ISBN-10.
- setBundle(String) - Method in class org.apache.commons.validator.Arg
-
Sets the resource bundle name.
- setBundle(String) - Method in class org.apache.commons.validator.Msg
-
Sets the resource bundle name.
- setBundle(String) - Method in class org.apache.commons.validator.Var
-
Sets the resource bundle name.
- setClassLoader(ClassLoader) - Method in class org.apache.commons.validator.Validator
-
Sets the class loader to be used for instantiating application objects when required.
- setClassname(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Deprecated.
- 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
-
Sets a parameter of a pluggable validation method.
- setPosition(int) - Method in class org.apache.commons.validator.Arg
-
Sets 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
-
Constructs a strict instance.
- ShortValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.ShortValidator
-
Construct an instance with the specified strict setting and format type.
- STANDARD_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Standard
NumberFormat
type - stripComments(String) - Method in class org.apache.commons.validator.EmailValidator
-
Deprecated.Recursively remove comments, and replace with a single space.
- sumDigits(int) - Static method in class org.apache.commons.validator.routines.checkdigit.ModulusCheckDigit
-
Add together the individual digits in a number.
T
- 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
-
Constructs a strict instance with short time style.
- TimeValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.TimeValidator
-
Constructs an instance with the specified strict and time style parameters.
- 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.ModulusTenCheckDigit
-
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.
- 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.checkdigit.ModulusTenCheckDigit
-
Return a string representation of this implementation.
- toString() - Method in class org.apache.commons.validator.routines.RegexValidator
-
Provides 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
- updateTLDOverride(DomainValidator.ArrayType, String...) - Static method in class org.apache.commons.validator.routines.DomainValidator
-
Update one of the TLD override arrays.
- 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(String[], RegexValidator, long, DomainValidator) - 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.
- useContextClassLoader - Variable in class org.apache.commons.validator.Validator
-
Whether or not to use the Context ClassLoader when loading classes for instantiating new objects.
V
- validate() - Method in class org.apache.commons.validator.Validator
-
Performs validations based on the configured resources.
- validate(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.ISINValidator
-
Checks the code is valid ISIN code.
- validate(String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Checks 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
-
Validates 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
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.
- validateEan(String) - Method in class org.apache.commons.validator.routines.ISSNValidator
-
Checks the code is a valid EAN code.
- validateISBN10(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is a valid ISBN-10 code.
- validateISBN13(String) - Method in class org.apache.commons.validator.routines.ISBNValidator
-
Check the code is a valid ISBN-13 code.
- Validator - 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
-
Creates the validator.
- Validator(ValidatorResources) - Constructor for class org.apache.commons.validator.Validator
-
Constructs 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
-
Constructs 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
-
Constructs a
Validator
that will use theValidatorResources
passed in to retrieve pluggable validators the different sets of validation rules. - VALIDATOR_ACTION_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
ValidatorAction
is stored under. - VALIDATOR_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
Validator
is stored under. - VALIDATOR_RESULTS_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the
ValidatorResults
is stored under. - ValidatorAction - Class in org.apache.commons.validator
-
Contains the information to dynamically create and run a validation method.
- ValidatorAction() - Constructor for class org.apache.commons.validator.ValidatorAction
- ValidatorException - Exception in org.apache.commons.validator
-
The base exception for the Validator Framework.
- ValidatorException() - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with no specified detail message.
- ValidatorException(String) - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with the specified detail message.
- ValidatorResources - Class in org.apache.commons.validator
-
General purpose class for storing
FormSet
objects based on their 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
- 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_FORMSET - Static variable in class org.apache.commons.validator.FormSet
-
This is the type of
FormSet
s where full locale has been set. - VERHOEFF_CHECK_DIGIT - Static variable in class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
-
Singleton Verhoeff Check Digit instance
- VerhoeffCheckDigit - Class in org.apache.commons.validator.routines.checkdigit
-
Verhoeff (Dihedral) Check Digit calculation/validation.
- VerhoeffCheckDigit() - Constructor for class org.apache.commons.validator.routines.checkdigit.VerhoeffCheckDigit
- VISA - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.Option specifying that Visa cards are allowed.
- VISA - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that Visa cards are allowed.
- VISA_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Visa Card Validator
- VPAY - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
Option specifying that VPay (Visa) cards are allowed.
- VPAY_VALIDATOR - Static variable in class org.apache.commons.validator.routines.CreditCardValidator
-
VPay (Visa) Card Validator
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.CASNumberCheckDigit
-
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 character 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.ECNumberCheckDigit
-
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 character 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 character 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 character 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.ModulusTenCheckDigit
-
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 character in the code at a specified position.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form