- AbstractCalendarValidator - Class in org.apache.commons.validator.routines
-
Abstract class for Date/Time/Calendar validation.
- AbstractCalendarValidator(boolean, int, int) - Constructor for class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Construct an instance with the specified strict,
time and date style parameters.
- AbstractFormatValidator - Class in org.apache.commons.validator.routines
-
Abstract class for Format based Validation.
- AbstractFormatValidator(boolean) - Constructor for class org.apache.commons.validator.routines.AbstractFormatValidator
-
Construct an instance with the specified strict setting.
- AbstractNumberValidator - Class in org.apache.commons.validator.routines
-
Abstract class for Number Validation.
- AbstractNumberValidator(boolean, int, boolean) - Constructor for class org.apache.commons.validator.routines.AbstractNumberValidator
-
Construct an instance with specified strict
and decimal parameters.
- add(String, boolean) - Method in class org.apache.commons.validator.ValidatorResult
-
Add the result of a validator action.
- add(String, boolean, Object) - Method in class org.apache.commons.validator.ValidatorResult
-
Add the result of a validator action.
- add(Field, String, boolean) - Method in class org.apache.commons.validator.ValidatorResults
-
Add a the result of a validator action.
- add(Field, String, boolean, Object) - Method in class org.apache.commons.validator.ValidatorResults
-
Add a the result of a validator action.
- addAllowedCardType(CreditCardValidator.CreditCardType) - Method in class org.apache.commons.validator.CreditCardValidator
-
Add an allowed CreditCardType that participates in the card
validation algorithm.
- addArg(Arg) - Method in class org.apache.commons.validator.Field
-
Add an Arg
to the replacement argument list.
- addConstant(String, String) - Method in class org.apache.commons.validator.FormSet
-
Add a Constant
to the locale level.
- addConstant(String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a global constant to the resource.
- addField(Field) - Method in class org.apache.commons.validator.Form
-
Add a Field
to the Form
.
- addForm(Form) - Method in class org.apache.commons.validator.FormSet
-
Add a Form
to the FormSet
.
- addFormSet(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a FormSet
to this ValidatorResources
object.
- addMsg(Msg) - Method in class org.apache.commons.validator.Field
-
Add a Msg
to the Field
.
- addOldArgRules(Digester) - Method in class org.apache.commons.validator.ValidatorResources
-
Create a Rule
to handle arg0-arg3
elements.
- addValidatorAction(ValidatorAction) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a ValidatorAction
to the resource.
- addVar(String, String, String) - Method in class org.apache.commons.validator.Field
-
Add a Var
, based on the values passed in, to the
Field
.
- addVar(Var) - Method in class org.apache.commons.validator.Field
-
Add a Var
to the Field
.
- adjustForLineEnding(String, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Calculate an adjustment amount for line endings.
- adjustToTimeZone(Calendar, TimeZone) - Static method in class org.apache.commons.validator.routines.CalendarValidator
-
Adjusts a Calendar's value to a different TimeZone.
- ALLOW_2_SLASHES - Static variable in class org.apache.commons.validator.UrlValidator
-
Allow two slashes in the path component of the URL.
- ALLOW_ALL_SCHEMES - Static variable in class org.apache.commons.validator.UrlValidator
-
Allows all validly formatted schemes to pass validation instead of
supplying a set of valid schemes.
- allowedSchemes - Variable in class org.apache.commons.validator.UrlValidator
-
The set of schemes that are allowed to be in a URL.
- allowFractions - Variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
- ALPHA_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- ALPHA_NUMERIC_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- ALPHA_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- Amex() - Constructor for class org.apache.commons.validator.CreditCardValidator.Amex
-
- AMEX - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Option specifying that American Express cards are allowed.
- Arg - Class in org.apache.commons.validator
-
A default argument or an argument for a
specific validator definition (ex: required)
can be stored to pass into a message as parameters.
- Arg() - Constructor for class org.apache.commons.validator.Arg
-
- args - Variable in class org.apache.commons.validator.Field
-
Holds Maps of arguments.
- ARGS_PATTERN - Static variable in class org.apache.commons.validator.ValidatorResources
-
- ATOM - Static variable in class org.apache.commons.validator.EmailValidator
-
- ATOM - Static variable in class org.apache.commons.validator.UrlValidator
-
- ATOM_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
- ATOM_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- AUTHORITY_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- AUTHORITY_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- calculateCompareResult(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares the field from two calendars indicating whether the field for the
first calendar is equal to, less than or greater than the field from the
second calendar.
- calculateQuarter(Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Calculate the quarter for the specified Calendar.
- CalendarValidator - Class in org.apache.commons.validator.routines
-
Calendar Validation and Conversion routines (java.util.Calendar
).
- CalendarValidator() - Constructor for class org.apache.commons.validator.routines.CalendarValidator
-
Construct a strict instance with short
date style.
- CalendarValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.CalendarValidator
-
Construct an instance with the specified strict
and date style parameters.
- cardTypes - Variable in class org.apache.commons.validator.CreditCardValidator
-
The CreditCardTypes that are allowed to pass validation.
- CHECK - Static variable in class org.apache.commons.validator.ISBNValidator
-
- classLoader - Variable in class org.apache.commons.validator.Validator
-
The class loader to use for instantiating application objects.
- classname - Variable in class org.apache.commons.validator.ValidatorAction
-
The full class name of the class containing
the validation method associated with this action.
- clean(String) - Method in class org.apache.commons.validator.ISBNValidator
-
Removes all non-digit characters except for 'X' which is a valid ISBN
character.
- 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.
- 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.
- compare(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares a calendar value to another, indicating whether it is
equal, less then or more than at a specified level.
- compareDates(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Dates (day, month and year - not time).
- compareDates(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Dates (day, month and year - not time).
- compareHours(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Hours.
- compareMinutes(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Minutes (hours and minutes).
- compareMonths(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Months (month and year).
- compareMonths(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Months (month and year).
- compareQuarters(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Quarters (quarter and year).
- compareQuarters(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares a calendar's quarter value to another, indicating whether it is
equal, less then or more than the specified quarter.
- compareQuarters(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Quarters (quarter and year).
- compareQuarters(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Quarters (quarter and year).
- compareQuarters(Date, Date, TimeZone, int) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Quarters (quarter and year).
- compareSeconds(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Seconds (hours, minutes and seconds).
- compareTime(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Compare Times (hour, minute, second and millisecond - not date).
- compareTime(Calendar, Calendar, int) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Compares a calendar time value to another, indicating whether it is
equal, less then or more than at a specified level.
- compareWeeks(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Weeks (week and year).
- compareWeeks(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Weeks (week and year).
- compareYears(Calendar, Calendar) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Compare Years.
- compareYears(Date, Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Compare Years.
- constants - Variable in class org.apache.commons.validator.FormSet
-
A Map
of Constant
s using the name field of the
Constant
as the key.
- containsAction(String) - Method in class org.apache.commons.validator.ValidatorResult
-
Indicate whether a specified validator is in the Result.
- containsField(String) - Method in class org.apache.commons.validator.Form
-
Returns true if this Form contains a Field with the given name.
- copyFastHashMap(FastHashMap) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
Deprecated.
- copyMap(Map) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
Makes a deep copy of a Map
if the values are
Msg
, Arg
, or Var
.
- country - Variable in class org.apache.commons.validator.FormSet
-
Country component of Locale
(optional).
- 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.UrlValidator
-
Returns the number of times the token appears in the target.
- createFormSet(ValidatorResources, String, String, String) - Method in class org.apache.commons.validator.FormSetFactory
-
Create or retrieve a FormSet
based on the language, country
and variant.
- createObject(Attributes) - Method in class org.apache.commons.validator.FormSetFactory
-
Create or retrieve a FormSet
for the specified
attributes.
- CREDIT_CARD_VALIDATOR - Static variable in class org.apache.commons.validator.GenericValidator
-
CreditCardValidator used in wrapper method.
- CreditCardValidator - Class in org.apache.commons.validator
-
Perform credit card validations.
- CreditCardValidator() - Constructor for class org.apache.commons.validator.CreditCardValidator
-
Create a new CreditCardValidator with default options.
- CreditCardValidator(int) - Constructor for class org.apache.commons.validator.CreditCardValidator
-
Create a new CreditCardValidator with the specified options.
- CreditCardValidator.Amex - Class in org.apache.commons.validator
-
- CreditCardValidator.CreditCardType - Interface in org.apache.commons.validator
-
CreditCardType implementations define how validation is performed
for one type/brand of credit card.
- CreditCardValidator.Discover - Class in org.apache.commons.validator
-
- CreditCardValidator.Mastercard - Class in org.apache.commons.validator
-
- CreditCardValidator.Visa - Class in org.apache.commons.validator
-
Change to support Visa Carte Blue used in France
has been removed - see Bug 35926
- CURRENCY_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Currency NumberFormat
type
- CURRENCY_SYMBOL - Static variable in class org.apache.commons.validator.routines.CurrencyValidator
-
DecimalFormat's currency symbol
- CurrencyValidator - Class in org.apache.commons.validator.routines
-
Currency Validation and Conversion routines (java.math.BigDecimal
).
- CurrencyValidator() - Constructor for class org.apache.commons.validator.routines.CurrencyValidator
-
Construct a strict instance.
- CurrencyValidator(boolean, boolean) - Constructor for class org.apache.commons.validator.routines.CurrencyValidator
-
Construct an instance with the specified strict setting.
- field - Variable in class org.apache.commons.validator.ValidatorResult
-
Field
being validated.
- Field - Class in org.apache.commons.validator
-
This contains the list of pluggable validators to run on a field and any
message information and variables to perform the validations and generate
error messages.
- Field() - Constructor for class org.apache.commons.validator.Field
-
- FIELD_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the Field
is stored under.
- fieldName - Variable in class org.apache.commons.validator.Validator
-
The name of the field on the form to validate
- fieldOrder - Variable in class org.apache.commons.validator.Field
-
The order of the Field in the Form.
- flags - Variable in class org.apache.commons.validator.util.Flags
-
Represents the current flag state.
- Flags - Class in org.apache.commons.validator.util
-
Represents a collection of 64 boolean (on/off) flags.
- Flags() - Constructor for class org.apache.commons.validator.util.Flags
-
Create a new Flags object.
- Flags(long) - Constructor for class org.apache.commons.validator.util.Flags
-
Initialize a new Flags object with the given flags.
- FloatValidator - Class in org.apache.commons.validator.routines
-
Float Validation and Conversion routines (java.lang.Float
).
- FloatValidator() - Constructor for class org.apache.commons.validator.routines.FloatValidator
-
Construct a strict instance.
- FloatValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.FloatValidator
-
Construct an instance with the specified strict setting
and format type.
- Form - Class in org.apache.commons.validator
-
This contains a set of validation rules for a form/JavaBean.
- Form() - Constructor for class org.apache.commons.validator.Form
-
- FORM_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the Form
is stored under.
- format(Object) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object into a String
using
the default Locale.
- format(Object, String) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object into a String
using
the specified pattern.
- format(Object, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object using the specified pattern and/or
Locale
.
- format(Object, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object using the specified pattern and/or
Locale
.
- format(Object, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object using the specified pattern and/or
Locale
.
- format(Object, String, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a String
using
the specified pattern.
- format(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format a value with the specified DateFormat
.
- format(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format a value with the specified Format
.
- format(Object, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Format an object into a String
using
the specified Locale.
- format(Object, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a String
using
the specified Locale.
- format(Object, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Format an object into a String
using
the default Locale.
- formatByte(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a byte primitive.
- formatByte(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a byte primitive.
- formatCreditCard(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the field is a valid credit card number.
- formatDate(String, String, boolean) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the field is a valid date.
- formatDate(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the field is a valid date.
- formatDouble(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a double primitive.
- formatDouble(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a double primitive.
- formatFloat(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a float primitive.
- formatFloat(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a float primitive.
- formatInt(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a int primitive.
- formatInt(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to an int primitive.
- formatJavascriptFileName() - Method in class org.apache.commons.validator.ValidatorAction
-
- formatLong(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a long primitive.
- formatLong(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a long primitive.
- formatShort(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a short primitive.
- formatShort(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a short primitive.
- formatType - Variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
- formName - Variable in class org.apache.commons.validator.Validator
-
The name of the form to validate
- forms - Variable in class org.apache.commons.validator.FormSet
-
A Map
of Form
s using the name field of the
Form
as the key.
- FormSet - Class in org.apache.commons.validator
-
Holds a set of Form
s stored associated with a Locale
based on the country, language, and variant specified.
- FormSet() - Constructor for class org.apache.commons.validator.FormSet
-
- FormSetFactory - Class in org.apache.commons.validator
-
Factory class used by Digester to create FormSet's.
- FormSetFactory() - Constructor for class org.apache.commons.validator.FormSetFactory
-
- generateJsFunction() - Method in class org.apache.commons.validator.ValidatorAction
-
Used to generate the javascript name when it is not specified.
- generateKey() - Method in class org.apache.commons.validator.Field
-
Generate correct key
value.
- 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.
- getActions() - Method in class org.apache.commons.validator.ValidatorResources
-
Returns a Map of String ValidatorAction names to their ValidatorAction.
- getActions() - Method in class org.apache.commons.validator.ValidatorResult
-
Return an Iterator of the action names contained in this Result.
- getArg(int) - Method in class org.apache.commons.validator.Field
-
Gets the default Arg
object at the given position.
- getArg(String, int) - Method in class org.apache.commons.validator.Field
-
Gets the Arg
object at the given position.
- getArgs(String) - Method in class org.apache.commons.validator.Field
-
Retrieves the Args for the given validator name.
- getBundle() - Method in class org.apache.commons.validator.Arg
-
Returns the resource bundle name.
- getBundle() - Method in class org.apache.commons.validator.Msg
-
Returns the resource bundle name.
- getBundle() - Method in class org.apache.commons.validator.Var
-
Returns the resource bundle name.
- getCalendar(Date, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Convert a Date
to a Calendar
.
- getClassLoader() - Method in class org.apache.commons.validator.Validator
-
Return the class loader to be used for instantiating application objects
when required.
- getClassLoader(Map) - Method in class org.apache.commons.validator.ValidatorAction
-
Returns the ClassLoader set in the Validator contained in the parameter
Map.
- getClassname() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the class of the validator action.
- getConstants() - Method in class org.apache.commons.validator.ValidatorResources
-
Returns a Map of String constant names to their String values.
- getCountry() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the country component of Locale
.
- 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
of Field
s is returned as an unmodifiable
List
.
- getFlags() - Method in class org.apache.commons.validator.util.Flags
-
Returns the current flags.
- getForm(String) - Method in class org.apache.commons.validator.FormSet
-
Retrieve a Form
based on the form name.
- getForm(String, String, String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a Form
based on the name of the form and the
Locale
that most closely matches the Locale
passed in.
- getForm(Locale, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a Form
based on the name of the form and the
Locale
that most closely matches the Locale
passed in.
- getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Returns a DateFormat
for the specified pattern
and/or Locale
.
- getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Returns a Format
for the specified pattern
and/or Locale
.
- getFormat(String, Locale) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Returns a NumberFormat
for the specified pattern
and/or Locale
.
- getFormat(Locale) - Method in class org.apache.commons.validator.routines.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
of Form
s is returned as an unmodifiable
Map
with the key based on the form name.
- getFormSet(String, String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a FormSet
based on the language, country
and variant.
- getFormSets() - Method in class org.apache.commons.validator.ValidatorResources
-
Returns a Map of String locale keys to Lists of their FormSets.
- getIndexedListProperty() - Method in class org.apache.commons.validator.Field
-
Gets the indexed property name of the field.
- getIndexedProperty() - Method in class org.apache.commons.validator.Field
-
Gets the indexed property name of the field.
- getIndexedProperty(Object) - Method in class org.apache.commons.validator.Field
-
Returns an indexed property from the object we're validating.
- getIndexedPropertySize(Object) - Method in class org.apache.commons.validator.Field
-
Returns the size of an indexed property from the object we're validating.
- getInstance() - Static method in class org.apache.commons.validator.DateValidator
-
Returns the Singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.EmailValidator
-
Returns the Singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ByteValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.CalendarValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.CurrencyValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.DateValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.DoubleValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.FloatValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.IntegerValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.LongValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.PercentValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.ShortValidator
-
Return a singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.routines.TimeValidator
-
Return a singleton instance of this validator.
- getJavascript() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the Javascript equivalent of the java class and method
associated with this action.
- getJsFunctionName() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the Javascript function name.
- getJsType() - Method in class org.apache.commons.validator.Var
-
Gets the JavaScript type of the variable.
- getKey() - Method in class org.apache.commons.validator.Arg
-
Gets the key/value.
- getKey() - Method in class org.apache.commons.validator.Field
-
Gets a unique key based on the property and indexedProperty fields.
- getKey() - Method in class org.apache.commons.validator.Msg
-
Gets the key/value.
- getLanguage() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the language component of Locale
.
- getLog() - Method in class org.apache.commons.validator.FormSet
-
Accessor method for Log instance.
- getLog() - Method in class org.apache.commons.validator.FormSetFactory
-
Accessor method for Log instance.
- getLog() - Method in class org.apache.commons.validator.ValidatorAction
-
Accessor method for Log instance.
- getLog() - Method in class org.apache.commons.validator.ValidatorResources
-
Accessor method for Log instance.
- getMessage(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a message object.
- getMessages() - Method in class org.apache.commons.validator.Field
-
The Field
's messages are returned as an
unmodifiable Map
.
- getMethod() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the name of method being called for the validator action.
- getMethodParams() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the method parameters for the method.
- getMsg() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the message associated with the validator action.
- getMsg(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a message value.
- getMsgMap() - Method in class org.apache.commons.validator.Field
-
Returns a Map of String Msg names to Msg objects.
- getName() - Method in class org.apache.commons.validator.Arg
-
Gets the name of the dependency.
- getName() - Method in class org.apache.commons.validator.Form
-
Gets the name/key of the set of validation rules.
- getName() - Method in class org.apache.commons.validator.Msg
-
Gets the name of the dependency.
- getName() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the name of the validator action.
- getName() - Method in class org.apache.commons.validator.Var
-
Gets the name of the variable.
- getOnlyReturnErrors() - Method in class org.apache.commons.validator.Validator
-
Returns true if the Validator is only returning Fields that fail validation.
- getPage() - Method in class org.apache.commons.validator.Field
-
Gets the page value that the Field is associated with for
validation.
- getPage() - Method in class org.apache.commons.validator.Validator
-
Gets the page.
- getParameterValue(String) - Method in class org.apache.commons.validator.Validator
-
Returns the value of the specified parameter that will be used during the
processing of validations.
- getParameterValues(Map) - Method in class org.apache.commons.validator.ValidatorAction
-
Converts a List of parameter class names into their values contained in
the parameters Map.
- getParent(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
-
Finds the given formSet's parent.
- getPosition() - Method in class org.apache.commons.validator.Arg
-
Argument's replacement position.
- getProperty() - Method in class org.apache.commons.validator.Field
-
Gets the property name of the field.
- getPropertyNames() - Method in class org.apache.commons.validator.ValidatorResults
-
Return the set of property names for which at least one message has
been recorded.
- getResult() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Gets the result returned by a validation method.
- getResult(String) - Method in class org.apache.commons.validator.ValidatorResult
-
Return the result of a validation.
- getResultValueMap() - Method in class org.apache.commons.validator.ValidatorResults
-
Get a Map
of any Object
s returned from
validation routines.
- getType() - Method in class org.apache.commons.validator.FormSet
-
Returns the type of FormSet
:GLOBAL_FORMSET
,
LANGUAGE_FORMSET
,COUNTRY_FORMSET
or VARIANT_FORMSET
.
- getUseContextClassLoader() - Method in class org.apache.commons.validator.Validator
-
Return the boolean as to whether the context classloader should be used.
- getValidationClassInstance() - Method in class org.apache.commons.validator.ValidatorAction
-
Return an instance of the validation class or null if the validation
method is static so does not require an instance to be executed.
- getValidatorAction(String) - Method in class org.apache.commons.validator.ValidatorResources
-
Get a ValidatorAction
based on it's name.
- getValidatorActions() - Method in class org.apache.commons.validator.ValidatorResources
-
Get an unmodifiable Map
of the ValidatorAction
s.
- getValidatorResult(String) - Method in class org.apache.commons.validator.ValidatorResults
-
Gets the ValidatorResult
associated
with the key passed in.
- getValue() - Method in class org.apache.commons.validator.Var
-
Gets the value of the variable.
- getValueAsString(Object, String) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
Convenience method for getting a value from a bean property as a
String
.
- getVar(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a variable.
- getVariant() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the variant component of Locale
.
- getVarMap() - Method in class org.apache.commons.validator.Field
-
Returns a Map of String Var names to Var objects.
- getVars() - Method in class org.apache.commons.validator.Field
-
The Field
's variables are returned as an
unmodifiable Map
.
- getVarValue(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a variable's value.
- GLOBAL_FORMSET - Static variable in class org.apache.commons.validator.FormSet
-
This is the type of FormSet
s where no locale is specified.
- GROUP - Static variable in class org.apache.commons.validator.ISBNValidator
-
- indexedListProperty - Variable in class org.apache.commons.validator.Field
-
The Field's indexed list property name.
- indexedProperty - Variable in class org.apache.commons.validator.Field
-
The Field's indexed property name.
- inherit - Variable in class org.apache.commons.validator.Form
-
The name/key of the form which this form extends from.
- init() - Method in class org.apache.commons.validator.ValidatorAction
-
Initialize based on set.
- initDigester() - Method in class org.apache.commons.validator.ValidatorResources
-
Initialize the digester.
- instance - Variable in class org.apache.commons.validator.ValidatorAction
-
If the java method matching the correct signature isn't static, the
instance is stored in the action.
- IntegerValidator - Class in org.apache.commons.validator.routines
-
Integer Validation and Conversion routines (java.lang.Integer
).
- IntegerValidator() - Constructor for class org.apache.commons.validator.routines.IntegerValidator
-
Construct a strict instance.
- IntegerValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.IntegerValidator
-
Construct an instance with the specified strict setting
and format type.
- IP_DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
- IP_V4_DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- isAllowFractions() - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Indicates whether the number being validated is
a decimal or integer.
- isBlankOrNull(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field isn't null and length of the field is greater
than zero not including whitespace.
- ISBN_PATTERN - Static variable in class org.apache.commons.validator.ISBNValidator
-
ISBN consists of 4 groups of numbers separated by either dashes (-)
or spaces.
- ISBNValidator - Class in org.apache.commons.validator
-
A class for validating 10 digit ISBN codes.
- ISBNValidator() - Constructor for class org.apache.commons.validator.ISBNValidator
-
Default Constructor.
- isByte(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a byte primitive.
- isCreditCard(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field is a valid credit card number.
- isDate(String, String, boolean) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field is a valid date.
- isDate(String, Locale) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field is a valid date.
- isDependency(String) - Method in class org.apache.commons.validator.Field
-
Checks if the validator is listed as a dependency.
- isDependency(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Checks whether or not the value passed in is in the depends field.
- isDouble(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a double primitive.
- isEmail(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a field has a valid e-mail address.
- isEmpty() - Method in class org.apache.commons.validator.ValidatorResults
-
Return true
if there are no messages recorded
in this collection, or false
otherwise.
- isExtending() - Method in class org.apache.commons.validator.Form
-
Get extends flag.
- isFloat(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a float primitive.
- isFormatted(String) - Method in class org.apache.commons.validator.ISBNValidator
-
Returns true if the ISBN contains one of the separator characters space
or dash.
- isIndexed() - Method in class org.apache.commons.validator.Field
-
If there is a value specified for the indexedProperty field then
true
will be returned.
- isInRange(byte, byte, byte) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(byte, byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is within a specified range.
- isInRange(double, double, double) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(double, double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is within a specified range.
- isInRange(float, float, float) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(float, float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is within a specified range.
- isInRange(int, int, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(int, int, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is within a specified range.
- isInRange(long, long, long) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(long, long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is within a specified range.
- isInRange(short, short, short) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(short, short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is within a specified range.
- isInRange(Byte, byte, byte) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Check if the value is within a specified range.
- isInRange(Double, double, double) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Check if the value is within a specified range.
- isInRange(Float, float, float) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Check if the value is within a specified range.
- isInRange(Integer, int, int) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Check if the value is within a specified range.
- isInRange(Long, long, long) - Method in class org.apache.commons.validator.routines.LongValidator
-
Check if the value is within a specified range.
- isInRange(Number, Number, Number) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Check if the value is within a specified range.
- isInRange(Short, short, short) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Check if the value is within a specified range.
- isInRange(BigDecimal, double, double) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Check if the value is within a specified range.
- isInRange(BigInteger, long, long) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Check if the value is within a specified range.
- isInt(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a int primitive.
- isLong(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a long primitive.
- isMerged() - Method in class org.apache.commons.validator.FormSet
-
Has this formSet been merged?
- isOff(long) - Method in class org.apache.commons.validator.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.
- isStrict() - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Indicates whether validated values should adhere
strictly to the Format
used.
- isUrl(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a field is a valid url address.
- isValid() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Tests whether or not the validation passed.
- isValid(Object) - Method in class org.apache.commons.validator.ValidatorAction
-
If the result object is a Boolean
, it will return its
value.
- isValid(String) - Method in class org.apache.commons.validator.CreditCardValidator
-
Checks if the field is a valid credit card number.
- isValid(String) - Method in class org.apache.commons.validator.EmailValidator
-
Checks if a field has a valid e-mail address.
- isValid(String) - Method in class org.apache.commons.validator.ISBNValidator
-
If the ISBN is formatted with space or dash separators its format is
validated.
- isValid(String) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Validate using the default Locale
.
- isValid(String) - Method in class org.apache.commons.validator.UrlValidator
-
Checks if a field has a valid url address.
- isValid(String) - Method in class org.apache.commons.validator.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
-
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
-
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.UrlValidator
-
Returns true if the authority is properly formatted.
- isValidDomain(String) - Method in class org.apache.commons.validator.EmailValidator
-
Returns true if the domain component of an email address is valid.
- isValidFragment(String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns true if the given fragment is null or fragments are allowed.
- isValidIpAddress(Perl5Util) - Method in class org.apache.commons.validator.EmailValidator
-
Validates an IP address.
- isValidPath(String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns true if the path is valid.
- isValidPattern(String) - Method in class org.apache.commons.validator.ISBNValidator
-
Returns true if the ISBN is formatted properly.
- isValidQuery(String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns true if the query is null or it's a properly formatted query string.
- isValidScheme(String) - Method in class org.apache.commons.validator.UrlValidator
-
Validate scheme.
- isValidSymbolicDomain(String) - Method in class org.apache.commons.validator.EmailValidator
-
Validates a symbolic domain name.
- isValidUser(String) - Method in class org.apache.commons.validator.EmailValidator
-
Returns true if the user component of an email address is valid.
- Mastercard() - Constructor for class org.apache.commons.validator.CreditCardValidator.Mastercard
-
- MASTERCARD - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Option specifying that Mastercard cards are allowed.
- matches(String) - Method in class org.apache.commons.validator.CreditCardValidator.Amex
-
- matches(String) - Method in interface org.apache.commons.validator.CreditCardValidator.CreditCardType
-
Returns true if the card number matches this type of credit
card.
- matches(String) - Method in class org.apache.commons.validator.CreditCardValidator.Discover
-
- matches(String) - Method in class org.apache.commons.validator.CreditCardValidator.Mastercard
-
- matches(String) - Method in class org.apache.commons.validator.CreditCardValidator.Visa
-
- 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.
- merged - Variable in class org.apache.commons.validator.FormSet
-
Flag indicating if this formSet has been merged with its parent (higher
rank in Locale hierarchy).
- method - Variable in class org.apache.commons.validator.ValidatorAction
-
The full method name of the validation to be performed.
- methodParameterList - Variable in class org.apache.commons.validator.ValidatorAction
-
An internal List representation of all the validation method's
parameters defined in the methodParams String.
- methodParams - Variable in class org.apache.commons.validator.ValidatorAction
-
The method signature of the validation method.
- 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.
- msg - Variable in class org.apache.commons.validator.ValidatorAction
-
The default error message associated with this action.
- Msg - Class in org.apache.commons.validator
-
An alternative message can be associated with a Field
and a pluggable validator instead of using the default message
stored in the ValidatorAction
(aka pluggable validator).
- Msg() - Constructor for class org.apache.commons.validator.Msg
-
- page - Variable in class org.apache.commons.validator.Field
-
The Page Number
- page - Variable in class org.apache.commons.validator.Validator
-
The current page number to validate.
- parameterClasses - Variable in class org.apache.commons.validator.ValidatorAction
-
The Class objects for each entry in methodParameterList.
- parameters - Variable in class org.apache.commons.validator.Validator
-
Maps validation method parameter class names to the objects to be passed
into the method.
- parse(String, String, Locale) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Parse the value using the specified pattern.
- parse(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Checks if the value is valid against a specified pattern.
- parse(String, Format) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Parse the value with the specified Format
.
- parse(String, Format) - Method in class org.apache.commons.validator.routines.CurrencyValidator
-
Parse the value with the specified Format
.
- parse(String, Format) - Method in class org.apache.commons.validator.routines.PercentValidator
-
Parse the value with the specified Format
.
- PARSE_AUTHORITY_EXTRA - Static variable in class org.apache.commons.validator.UrlValidator
-
Should always be empty.
- PARSE_AUTHORITY_HOST_IP - Static variable in class org.apache.commons.validator.UrlValidator
-
- PARSE_AUTHORITY_PORT - Static variable in class org.apache.commons.validator.UrlValidator
-
- PARSE_URL_AUTHORITY - Static variable in class org.apache.commons.validator.UrlValidator
-
Includes hostname/ip and port number.
- PARSE_URL_FRAGMENT - Static variable in class org.apache.commons.validator.UrlValidator
-
- PARSE_URL_PATH - Static variable in class org.apache.commons.validator.UrlValidator
-
- PARSE_URL_QUERY - Static variable in class org.apache.commons.validator.UrlValidator
-
- PARSE_URL_SCHEME - Static variable in class org.apache.commons.validator.UrlValidator
-
Schema/Protocol (ie.
- PATH_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- PERCENT_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Percent NumberFormat
type
- PERCENT_SYMBOL - Static variable in class org.apache.commons.validator.routines.PercentValidator
-
DecimalFormat's percent (thousand multiplier) symbol
- PercentValidator - Class in org.apache.commons.validator.routines
-
Percentage Validation and Conversion routines (java.math.BigDecimal
).
- PercentValidator() - Constructor for class org.apache.commons.validator.routines.PercentValidator
-
Construct a strict instance.
- PercentValidator(boolean) - Constructor for class org.apache.commons.validator.routines.PercentValidator
-
Construct an instance with the specified strict setting.
- POINT_ZERO_ONE - Static variable in class org.apache.commons.validator.routines.PercentValidator
-
- PORT_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- position - Variable in class org.apache.commons.validator.Arg
-
This argument's position in the message.
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Amex
-
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Discover
-
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Mastercard
-
- PREFIX - Static variable in class org.apache.commons.validator.CreditCardValidator.Visa
-
- process() - Method in class org.apache.commons.validator.ValidatorResources
-
Process the ValidatorResources
object.
- process(Map) - Method in class org.apache.commons.validator.FormSet
-
Processes all of the Form
s.
- process(Map, Map) - Method in class org.apache.commons.validator.Field
-
Replace constants with values in fields and process the depends field
to create the dependency Map
.
- process(Map, Map, Map) - Method in class org.apache.commons.validator.Form
-
Processes all of the Form
's Field
s.
- processArg(String, String) - Method in class org.apache.commons.validator.Field
-
Replace the arg Collection
key value with the key/value
pairs passed in.
- processed - Variable in class org.apache.commons.validator.Form
-
Whether or not the this Form
was processed for replacing
variables in strings with their values.
- processed - Variable in class org.apache.commons.validator.FormSet
-
Whether or not the this FormSet
was processed for replacing
variables in strings with their values.
- processForms() - Method in class org.apache.commons.validator.ValidatorResources
-
Process the Form
objects.
- processMessageComponents(String, String) - Method in class org.apache.commons.validator.Field
-
Replace the args key value with the key/value pairs passed in.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractCalendarValidator
-
Process the parsed value, performing any further validation
and type conversion required.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractFormatValidator
-
Process the parsed value, performing any further validation
and type conversion required.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Process the parsed value, performing any further validation
and type conversion required.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Convert the parsed value to a BigDecimal
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Convert the parsed value to a BigInteger
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Perform further validation and convert the Number
to
a Byte
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Convert the parsed Date
to a Calendar
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.DateValidator
-
Returns the parsed Date
unchanged.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Convert the parsed value to a Double
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Perform further validation and convert the Number
to
a Float
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Perform further validation and convert the Number
to
an Integer
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.LongValidator
-
Convert the parsed value to a Long
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Perform further validation and convert the Number
to
a Short
.
- processParsedValue(Object, Format) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Convert the parsed Date
to a Calendar
.
- processVars(String, String) - Method in class org.apache.commons.validator.Field
-
Replace the vars value with the key/value pairs passed in.
- property - Variable in class org.apache.commons.validator.Field
-
The Field's property name.
- PUBLISHER - Static variable in class org.apache.commons.validator.ISBNValidator
-
- SCHEME_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- SCHEME_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Protocol (ie.
- SEP - Static variable in class org.apache.commons.validator.ISBNValidator
-
- setBundle(String) - Method in class org.apache.commons.validator.Arg
-
Sets the resource bundle name.
- setBundle(String) - Method in class org.apache.commons.validator.Msg
-
Sets the resource bundle name.
- setBundle(String) - Method in class org.apache.commons.validator.Var
-
Sets the resource bundle name.
- setClassLoader(ClassLoader) - Method in class org.apache.commons.validator.Validator
-
Set the class loader to be used for instantiating application objects
when required.
- setClassname(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the class of the validator action.
- setCountry(String) - Method in class org.apache.commons.validator.FormSet
-
Sets the equivalent of the country component of Locale
.
- setDepends(String) - Method in class org.apache.commons.validator.Field
-
Sets the validation rules for this field as a comma separated list.
- setDepends(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the dependencies of the validator action.
- setExtends(String) - Method in class org.apache.commons.validator.Form
-
Sets the name/key of the parent set of validation rules.
- setFieldName(String) - Method in class org.apache.commons.validator.Validator
-
Sets the name of the field to validate in a form (optional)
- setFieldOrder(int) - Method in class org.apache.commons.validator.Field
-
Sets the position of the Field
in the validation list.
- setFormName(String) - Method in class org.apache.commons.validator.Validator
-
Sets the form name which is the key to a set of validation rules.
- setIndexedListProperty(String) - Method in class org.apache.commons.validator.Field
-
Sets the indexed property name of the field.
- setIndexedProperty(String) - Method in class org.apache.commons.validator.Field
-
Sets the indexed property name of the field.
- setJavascript(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the Javascript equivalent of the java class and method
associated with this action.
- setJsFunction(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the fully qualified class path of the Javascript function.
- setJsFunctionName(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the Javascript function name.
- setJsType(String) - Method in class org.apache.commons.validator.Var
-
Sets the JavaScript type of the variable.
- setKey(String) - Method in class org.apache.commons.validator.Arg
-
Sets the key/value.
- setKey(String) - Method in class org.apache.commons.validator.Field
-
Sets a unique key for the field.
- setKey(String) - Method in class org.apache.commons.validator.Msg
-
Sets the key/value.
- setLanguage(String) - Method in class org.apache.commons.validator.FormSet
-
Sets the equivalent of the language component of Locale
.
- setMethod(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the name of method being called for the validator action.
- setMethodParams(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the method parameters for the method.
- setMsg(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the message associated with the validator action.
- setName(String) - Method in class org.apache.commons.validator.Arg
-
Sets the name of the dependency.
- setName(String) - Method in class org.apache.commons.validator.Form
-
Sets the name/key of the set of validation rules.
- setName(String) - Method in class org.apache.commons.validator.Msg
-
Sets the name of the dependency.
- setName(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the name of the validator action.
- setName(String) - Method in class org.apache.commons.validator.Var
-
Sets the name of the variable.
- setOnlyReturnErrors(boolean) - Method in class org.apache.commons.validator.Validator
-
Configures which Fields the Validator returns from the validate() method.
- setPage(int) - Method in class org.apache.commons.validator.Field
-
Sets the page value that the Field is associated with for
validation.
- setPage(int) - Method in class org.apache.commons.validator.Validator
-
Sets the page.
- setParameter(String, Object) - Method in class org.apache.commons.validator.Validator
-
Set a parameter of a pluggable validation method.
- setPosition(int) - Method in class org.apache.commons.validator.Arg
-
Set this argument's replacement position.
- setProperty(String) - Method in class org.apache.commons.validator.Field
-
Sets the property name of the field.
- setResource(boolean) - Method in class org.apache.commons.validator.Arg
-
Sets whether or not the key is a resource.
- setResource(boolean) - Method in class org.apache.commons.validator.Msg
-
Sets whether or not the key is a resource.
- setResource(boolean) - Method in class org.apache.commons.validator.Var
-
Sets whether or not the value is a resource.
- setResult(Object) - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Sets the result returned by a validation method.
- setUseContextClassLoader(boolean) - Method in class org.apache.commons.validator.Validator
-
Determine whether to use the Context ClassLoader (the one found by
calling Thread.currentThread().getContextClassLoader()
)
to resolve/load classes that are defined in various rules.
- setValid(boolean) - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Sets whether or not the validation passed.
- setValue(String) - Method in class org.apache.commons.validator.Var
-
Sets the value of the variable.
- setVariant(String) - Method in class org.apache.commons.validator.FormSet
-
Sets the equivalent of the variant component of Locale
.
- ShortValidator - Class in org.apache.commons.validator.routines
-
Short Validation and Conversion routines (java.lang.Short
).
- ShortValidator() - Constructor for class org.apache.commons.validator.routines.ShortValidator
-
Construct a strict instance.
- ShortValidator(boolean, int) - Constructor for class org.apache.commons.validator.routines.ShortValidator
-
Construct an instance with the specified strict setting
and format type.
- SPECIAL_CHARS - Static variable in class org.apache.commons.validator.EmailValidator
-
- SPECIAL_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- STANDARD_FORMAT - Static variable in class org.apache.commons.validator.routines.AbstractNumberValidator
-
Standard NumberFormat
type
- strict - Variable in class org.apache.commons.validator.routines.AbstractFormatValidator
-
- stripComments(String) - Method in class org.apache.commons.validator.EmailValidator
-
Recursively remove comments, and replace with a single space.
- sum(String) - Method in class org.apache.commons.validator.ISBNValidator
-
Returns the sum of the weighted ISBN characters.
- valid - Variable in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
- VALID_CHARS - Static variable in class org.apache.commons.validator.EmailValidator
-
- VALID_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- 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 default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a BigInteger
using the default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a Byte
using the default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the default
Locale
and TimeZone
.
- validate(String) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the default
Locale
and TimeZone
.
- validate(String) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a Double
using the default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a Float
using the default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an Integer
using the default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a Long
using the default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a Short
using the default
Locale
.
- validate(String) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the default Locale
and TimeZone
.
- 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 default TimeZone
.
- validate(String, String) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
pattern and default TimeZone
.
- validate(String, String) - 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/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a BigInteger
using the
specified pattern and/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a Byte
using the
specified pattern and/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified pattern
and Locale
and the default TimeZone
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified pattern
and Locale
and the default TimeZone
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a Double
using the
specified pattern and/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a Float
using the
specified pattern and/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert a Integer
using the
specified pattern and/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a Long
using the
specified pattern and/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a Short
using the
specified pattern and/ or Locale
.
- validate(String, String, Locale) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern and Locale
and the default TimeZone
.
- validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
pattern, and Locale
and TimeZone
.
- validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
pattern, and Locale
and TimeZone
.
- validate(String, String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern, Locale
and TimeZone
.
- validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
pattern and TimeZone
.
- validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
pattern and TimeZone
.
- validate(String, String, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified pattern
and TimeZone
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.BigDecimalValidator
-
Validate/convert a BigDecimal
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.BigIntegerValidator
-
Validate/convert a BigInteger
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.ByteValidator
-
Validate/convert a Byte
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
Locale
and default TimeZone
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
Locale
and default TimeZone
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.DoubleValidator
-
Validate/convert a Double
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.FloatValidator
-
Validate/convert a Float
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.IntegerValidator
-
Validate/convert an Integer
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.LongValidator
-
Validate/convert a Long
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.ShortValidator
-
Validate/convert a Short
using the
specified Locale
.
- validate(String, Locale) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified Locale
default TimeZone
.
- validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
Locale
and TimeZone
.
- validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
Locale
and TimeZone
.
- validate(String, Locale, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified specified Locale
and TimeZone
.
- validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.CalendarValidator
-
Validate/convert a Calendar
using the specified
TimeZone
and default Locale
.
- validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.DateValidator
-
Validate/convert a Date
using the specified
TimeZone
and default Locale
.
- validate(String, TimeZone) - Method in class org.apache.commons.validator.routines.TimeValidator
-
Validate/convert a time using the specified TimeZone
and default Locale
.
- validate(Map, Map) - Method in class org.apache.commons.validator.Field
-
Run the configured validations on this field.
- validate(Map, Map, int) - Method in class org.apache.commons.validator.Form
-
Validate all Fields in this Form on the given page and below.
- validate(Map, Map, int, String) - Method in class org.apache.commons.validator.Form
-
Validate all Fields in this Form on the given page and below.
- validateForRule(ValidatorAction, ValidatorResults, Map, Map, int) - Method in class org.apache.commons.validator.Field
-
Executes the given ValidatorAction and all ValidatorActions that it
depends on.
- validationClass - Variable in class org.apache.commons.validator.ValidatorAction
-
The Class object loaded from the classname.
- validationMethod - Variable in class org.apache.commons.validator.ValidatorAction
-
The Method object loaded from the method name.
- Validator - Class in org.apache.commons.validator
-
Validations are processed by the validate method.
- Validator(ValidatorResources) - Constructor for class org.apache.commons.validator.Validator
-
Construct a Validator
that will
use the ValidatorResources
passed in to retrieve pluggable validators
the different sets of validation rules.
- Validator(ValidatorResources, String) - Constructor for class org.apache.commons.validator.Validator
-
Construct a Validator
that will
use the ValidatorResources
passed in to retrieve pluggable validators
the different sets of validation rules.
- Validator(ValidatorResources, String, String) - Constructor for class org.apache.commons.validator.Validator
-
Construct a Validator
that will
use the ValidatorResources
passed in to retrieve pluggable validators
the different sets of validation rules.
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.BigDecimalValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.BigIntegerValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.ByteValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.CalendarValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.CurrencyValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.DateValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.DoubleValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.FloatValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.IntegerValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.LongValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.PercentValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.ShortValidator
-
- VALIDATOR - Static variable in class org.apache.commons.validator.routines.TimeValidator
-
- VALIDATOR_ACTION_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the ValidatorAction
is stored under.
- VALIDATOR_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the Validator
is stored under.
- VALIDATOR_RESULTS_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the ValidatorResults
is stored under.
- VALIDATOR_RULES - Static variable in class org.apache.commons.validator.ValidatorResources
-
Name of the digester validator rules file
- ValidatorAction - Class in org.apache.commons.validator
-
Contains the information to dynamically create and run a validation
method.
- ValidatorAction() - Constructor for class org.apache.commons.validator.ValidatorAction
-
- ValidatorException - Exception in org.apache.commons.validator
-
The base exception for the Validator Framework.
- ValidatorException() - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with no specified detail message.
- ValidatorException(String) - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with the specified detail message.
- ValidatorResources - Class in org.apache.commons.validator
-
General purpose class for storing FormSet
objects based
on their associated Locale
.
- ValidatorResources() - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create an empty ValidatorResources object.
- ValidatorResources(InputStream) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from an InputStream.
- ValidatorResources(InputStream[]) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from an InputStream.
- ValidatorResources(String) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from an uri
- ValidatorResources(String[]) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from several uris
- ValidatorResources(URL) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from a URL.
- ValidatorResources(URL[]) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from several URL.
- ValidatorResult - Class in org.apache.commons.validator
-
This contains the results of a set of validation rules processed
on a JavaBean.
- ValidatorResult(Field) - Constructor for class org.apache.commons.validator.ValidatorResult
-
Constructs a ValidatorResult
with the associated field being
validated.
- ValidatorResult.ResultStatus - Class in org.apache.commons.validator
-
Contains the status of the validation.
- ValidatorResults - Class in org.apache.commons.validator
-
This contains the results of a set of validation rules processed
on a JavaBean.
- ValidatorResults() - Constructor for class org.apache.commons.validator.ValidatorResults
-
- ValidatorUtils - Class in org.apache.commons.validator.util
-
Basic utility methods.
- ValidatorUtils() - Constructor for class org.apache.commons.validator.util.ValidatorUtils
-
- value - Variable in class org.apache.commons.validator.Var
-
The key or value the variable.
- Var - Class in org.apache.commons.validator
-
A variable that can be associated with a Field
for
passing in information to a pluggable validator.
- Var() - Constructor for class org.apache.commons.validator.Var
-
Default Constructor.
- Var(String, String, String) - Constructor for class org.apache.commons.validator.Var
-
Constructs a variable with a specified name, value
and Javascript type.
- variant - Variable in class org.apache.commons.validator.FormSet
-
Variant component of Locale
(optional).
- VARIANT_FORMSET - Static variable in class org.apache.commons.validator.FormSet
-
This is the type of FormSet
s where full locale has been set.
- Visa() - Constructor for class org.apache.commons.validator.CreditCardValidator.Visa
-
- VISA - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Option specifying that Visa cards are allowed.