MCPcopy Create free account

hub / github.com/apache/commons-validator / functions

Functions1,283 in github.com/apache/commons-validator

↓ 10 callersMethodcompareMonths
Compare Months (month and year). @param value The {@code Date} value to check. @param compare The {@code Date} to compare the value to. @param timeZo
src/main/java/org/apache/commons/validator/routines/DateValidator.java:145
↓ 10 callersMethodgetField
Returns the Field with the given name or null if this Form has no such field. @param fieldName The field name @return The field value @sin
src/main/java/org/apache/commons/validator/Form.java:119
↓ 10 callersMethodgetInstance
Gets the singleton instance of the ISBN validator which converts ISBN-10 codes to ISBN-13. @return A singleton instance of the ISBN validator.
src/main/java/org/apache/commons/validator/routines/ISBNValidator.java:113
↓ 10 callersMethodgetLog
Accessor method for Log instance. The Log instance variable is transient and accessing it through this method ensures it is re-initialized when this
src/main/java/org/apache/commons/validator/ValidatorAction.java:289
↓ 10 callersMethodisValidISBN10
Check the code is a valid ISBN-10 code. @param code The code to validate. @return {@code true} if a valid ISBN-10 code, otherwise {@code false}.
src/main/java/org/apache/commons/validator/routines/ISBNValidator.java:213
↓ 10 callersMethodvalidate
Validates and converts a {@code BigInteger} using the default {@link Locale}. @param value The value validation is being performed on. @return The pa
src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java:216
↓ 9 callersMethodcalculateCompareResult
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
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:81
↓ 9 callersMethodgetCheckDigit
Gets the check digit validation routine. <p> <strong>N.B.</strong> Optional, if not set no Check Digit validation will be performed on the code. @ret
src/main/java/org/apache/commons/validator/routines/CodeValidator.java:167
↓ 9 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the FloatValidator.
src/main/java/org/apache/commons/validator/routines/FloatValidator.java:76
↓ 9 callersMethodgetValidator
Gets the Validator for a given IBAN. @param code a string starting with the ISO country code (for example, an IBAN). @return the validator or {@code
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:335
↓ 9 callersMethodisInRange
Check if the value is within a specified range. @param value The {@code Number} value to check. @param min The minimum value of the range. @param max
src/main/java/org/apache/commons/validator/routines/DoubleValidator.java:121
↓ 9 callersMethodisOn
Tests whether the given flag is on. If the flag is not a power of 2 (for example, 3) this tests whether the combination of flags is on. @param flag F
src/main/java/org/apache/commons/validator/util/Flags.java:144
↓ 9 callersMethodisValid
Checks if a field has a valid e-mail address. @param email The value validation is being performed on. A {@code null} value is considered invalid. @
src/main/java/org/apache/commons/validator/EmailValidator.java:88
↓ 9 callersMethodisValidISBN13
Check the code is a valid ISBN-13 code. @param code The code to validate. @return {@code true} if a valid ISBN-13 code, otherwise {@code false}.
src/main/java/org/apache/commons/validator/routines/ISBNValidator.java:224
↓ 9 callersMethodsetValidator
Installs a validator. Will replace any existing entry which has the same countryCode. @param countryCode the country code. @param length the len
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:373
↓ 9 callersMethodunicodeToASCII
(final String input)
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:1943
↓ 9 callersMethodvalidateISBN10
Check the code is a valid ISBN-10 code. <p> If valid, this method returns the ISBN-10 code with formatting characters removed (such as space or hyphen
src/main/java/org/apache/commons/validator/routines/ISBNValidator.java:264
↓ 9 callersMethodvalidateISBN13
Check the code is a valid ISBN-13 code. <p> If valid, this method returns the ISBN-13 code with formatting characters removed (such as space or hyphen
src/main/java/org/apache/commons/validator/routines/ISBNValidator.java:279
↓ 8 callersMethodbuildLocale
Assembles a Locale code from the given parts.
src/main/java/org/apache/commons/validator/ValidatorResources.java:351
↓ 8 callersMethodformatLong
Checks if the value can safely be converted to a long primitive. @param value The value validation is being performed on. @return the converted Long
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:287
↓ 8 callersMethodgetFieldMap
Returns a Map of String field keys to Field objects. @return The fieldMap value @since 1.2.0
src/main/java/org/apache/commons/validator/Form.java:129
↓ 8 callersMethodgetFields
A {@code List} of {@code Field}s is returned as an unmodifiable {@code List}. @return The fields value
src/main/java/org/apache/commons/validator/Form.java:140
↓ 8 callersMethodgetInstance
Returns the Singleton instance of this validator. @return singleton instance of this validator.
src/main/java/org/apache/commons/validator/EmailValidator.java:71
↓ 8 callersMethodgetVarMap
Returns a Map of String Var names to Var objects. @return A Map of the Field's variables. @since 1.2.0
src/main/java/org/apache/commons/validator/Field.java:562
↓ 8 callersMethodisInRange
Tests if the value is within a specified range. @param value The {@code Number} value to check. @param min The minimum value of the range. @param max
src/main/java/org/apache/commons/validator/routines/FloatValidator.java:121
↓ 8 callersMethodmaxValue
Tests if the value is less than or equal to a maximum. @param value The value validation is being performed on. @param max The maximum value. @retu
src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java:145
↓ 8 callersMethodmaxValue
Check if the value is less than or equal to a maximum. @param value The value validation is being performed on. @param max The maximum value. @return
src/main/java/org/apache/commons/validator/routines/DoubleValidator.java:146
↓ 8 callersMethodminValue
Check if the value is greater than or equal to a minimum. @param value The value validation is being performed on. @param min The minimum value. @ret
src/main/java/org/apache/commons/validator/routines/DoubleValidator.java:188
↓ 7 callersMethodassertParameterValue
(final Validator validator, final String name, final Class<?> type)
src/test/java/org/apache/commons/validator/ParameterTest.java:44
↓ 7 callersMethodcreateDate
Create a date instance for a specified time zone, date and time. @param zone The time zone @param date The date in yyyyMMdd format @param time the ti
src/test/java/org/apache/commons/validator/routines/AbstractCalendarValidatorTest.java:77
↓ 7 callersMethodisInRange
Tests if the value is within a specified range. @param value The {@code Number} value to check. @param min The minimum value of the range. @param m
src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java:134
↓ 7 callersMethodisOn
Tests whether the given flag is on. If the flag is not a power of 2 (for example, 3) this tests whether the combination of flags is on. @param option
src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java:491
↓ 7 callersMethodisValidAuthority
Returns true if the authority is properly formatted. An authority is the combination of hostname and port. A {@code null} authority value is conside
src/main/java/org/apache/commons/validator/UrlValidator.java:298
↓ 7 callersMethodprocess
Process the {@code ValidatorResources} object. Currently, sets the {@code FastHashMap} s to the 'fast' mode and call the processes all other resources
src/main/java/org/apache/commons/validator/ValidatorResources.java:608
↓ 6 callersMethodcheckFormNotFound
(final Locale locale, final String formKey)
src/test/java/org/apache/commons/validator/RetrieveFormTest.java:63
↓ 6 callersMethodclear
Turn off all flags. This is a synonym for {@code turnOffAll()}. @since 1.1.1
src/main/java/org/apache/commons/validator/util/Flags.java:68
↓ 6 callersMethodcompareTime
Compare Times (hour, minute, second and millisecond - not date). @param value The {@link Calendar} value to check. @param compare The {@link Calendar
src/main/java/org/apache/commons/validator/routines/TimeValidator.java:167
↓ 6 callersMethodcompareYears
Compare Years. @param value The {@code Date} value to check. @param compare The {@code Date} to compare the value to. @param timeZone The Time Zone u
src/main/java/org/apache/commons/validator/routines/DateValidator.java:208
↓ 6 callersMethodconvertToISBN13
Convert an ISBN-10 code to an ISBN-13 code. <p> This method requires a valid ISBN-10 with NO formatting characters. </p> @param isbn10 The ISBN-10 co
src/main/java/org/apache/commons/validator/routines/ISBNValidator.java:172
↓ 6 callersMethodgetFormatType
Gets the type of {@code NumberFormat} created by this validator instance. @return the format type created.
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:234
↓ 6 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the CurrencyValidator.
src/main/java/org/apache/commons/validator/routines/CurrencyValidator.java:58
↓ 6 callersMethodgetLanguage
Gets the equivalent of the language component of {@link Locale}. @return The language value
src/main/java/org/apache/commons/validator/FormSet.java:201
↓ 6 callersMethodgetLog
Accessor method for Log instance. The Log instance variable is transient and accessing it through this method ensures it is re-initialized when this
src/main/java/org/apache/commons/validator/FormSet.java:215
↓ 6 callersMethodgetVar
Retrieve a variable. @param mainKey The Variable's key @return the Variable
src/main/java/org/apache/commons/validator/Field.java:552
↓ 6 callersMethodisAsciiDigit
(final char ch)
src/main/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigit.java:38
↓ 6 callersMethodisOff
Tests whether the given flag is off. If the flag is not a power of 2 (for example, 3) this tests whether the combination of flags is off. @param flag
src/main/java/org/apache/commons/validator/util/Flags.java:133
↓ 6 callersMethodmaxValue
Tests if the value is less than or equal to a maximum. @param value The value validation is being performed on. @param max The maximum value. @return
src/main/java/org/apache/commons/validator/routines/FloatValidator.java:146
↓ 6 callersMethodminValue
Tests if the value is greater than or equal to a minimum. @param value The value validation is being performed on. @param min The minimum value. @ret
src/main/java/org/apache/commons/validator/routines/FloatValidator.java:170
↓ 6 callersMethodtoLocale
(final Locale locale)
src/main/java/org/apache/commons/validator/Validator.java:90
↓ 6 callersMethodvalidate
Validate/convert a {@code Short} using the default {@link Locale}. @param value The value validation is being performed on. @return The parsed {@c
src/main/java/org/apache/commons/validator/routines/ShortValidator.java:215
↓ 6 callersMethodvalidate
Validate/convert a {@code Long} using the default {@link Locale}. @param value The value validation is being performed on. @return The parsed {@co
src/main/java/org/apache/commons/validator/routines/LongValidator.java:212
↓ 6 callersMethodvalidate
Validate/convert an {@code Integer} using the default {@link Locale}. @param value The value validation is being performed on. @return The parsed
src/main/java/org/apache/commons/validator/routines/IntegerValidator.java:217
↓ 6 callersMethodvalidate
Validate/convert a {@code Byte} using the default {@link Locale}. @param value The value validation is being performed on. @return The parsed {@co
src/main/java/org/apache/commons/validator/routines/ByteValidator.java:217
↓ 5 callersMethodadjustToTimeZone
Adjusts a Calendar's value to a different TimeZone. @param value The value to adjust. @param timeZone The new time zone to use to adjust the Calendar
src/main/java/org/apache/commons/validator/routines/CalendarValidator.java:99
↓ 5 callersMethodcompareHours
Compare Hours. @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to compare the value to. @return Zero if the hou
src/main/java/org/apache/commons/validator/routines/TimeValidator.java:128
↓ 5 callersMethodcompareMinutes
Compare Minutes (hours and minutes). @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to compare the value to. @
src/main/java/org/apache/commons/validator/routines/TimeValidator.java:141
↓ 5 callersMethodcompareSeconds
Compare Seconds (hours, minutes and seconds). @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to compare the va
src/main/java/org/apache/commons/validator/routines/TimeValidator.java:154
↓ 5 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the PercentValidator.
src/main/java/org/apache/commons/validator/routines/PercentValidator.java:63
↓ 5 callersMethodgetInstance
Gets the singleton instance of this validator. @return the singleton instance of this validator
src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java:76
↓ 5 callersMethodgetLog
Accessor method for Log instance. The Log instance variable is transient and accessing it through this method ensures it is re-initialized when this
src/main/java/org/apache/commons/validator/FormSetFactory.java:114
↓ 5 callersMethodgetPatterns
Gets a copy of the Patterns. @return a copy of the Patterns. @since 1.8
src/main/java/org/apache/commons/validator/routines/RegexValidator.java:156
↓ 5 callersMethodgetPosition
Gets the replacement position. @return This replacement position.
src/main/java/org/apache/commons/validator/Arg.java:127
↓ 5 callersMethodisAllowFractions
Tests whether the number being validated is a decimal or integer. @return {@code true} if decimals are allowed or {@code false} if the number is an i
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:243
↓ 5 callersMethodisAsciiAlphaNum
(final char ch)
src/main/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigit.java:34
↓ 5 callersMethodisInRange
Checks if a value is within a range (min &amp; max specified in the vars attribute). @param value The value validation is being performed on. @param
src/main/java/org/apache/commons/validator/GenericValidator.java:161
↓ 5 callersMethodisInRange
Check if the value is within a specified range. @param value The {@code Number} value to check. @param min The minimum value of the range. @param max
src/main/java/org/apache/commons/validator/routines/ShortValidator.java:121
↓ 5 callersMethodisInRange
Check if the value is within a specified range. @param value The {@code Number} value to check. @param min The minimum value of the range. @param max
src/main/java/org/apache/commons/validator/routines/LongValidator.java:120
↓ 5 callersMethodisInRange
Check if the value is within a specified range. @param value The {@code Number} value to check. @param min The minimum value of the range. @param max
src/main/java/org/apache/commons/validator/routines/IntegerValidator.java:121
↓ 5 callersMethodisInRange
Check if the value is within a specified range. @param value The {@code Number} value to check. @param min The minimum value of the range. @param max
src/main/java/org/apache/commons/validator/routines/ByteValidator.java:121
↓ 5 callersMethodisSortedLowerCase
(final DomainValidator.ArrayType type)
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:207
↓ 5 callersMethodisValidLocalTld
Tests whether the specified {@link String} matches any widely used "local" domains (localhost or localdomain). Leading dots are ignored if present. Th
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:2308
↓ 5 callersMethodisValidTld
Returns true if the specified {@link String} matches any IANA-defined top-level domain. Leading dots are ignored if present. The search is case-insens
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:2325
↓ 5 callersMethodsetMiddleName
(final String middleName)
src/test/java/org/apache/commons/validator/NameBean.java:50
↓ 5 callersMethodsetName
Sets the name/key of the set of validation rules. @param name The new name value
src/main/java/org/apache/commons/validator/Form.java:261
↓ 5 callersMethodsetPosition
Sets this argument's replacement position. @param position set this argument's replacement position.
src/main/java/org/apache/commons/validator/Arg.java:173
↓ 5 callersMethodtoString
Returns a 64 length String with the first flag on the right and the 64th flag on the left. A 1 indicates the flag is on, a 0 means it's off. @return
src/main/java/org/apache/commons/validator/util/Flags.java:155
↓ 5 callersMethodvalueTest
Utility class to run a test on a value. @param name param @param loc param @param firstGood param @param lastGood param @param middle
src/test/java/org/apache/commons/validator/LocaleTest.java:146
↓ 4 callersMethodaddField
Add a {@code Field} to the {@code Form}. @param f The field
src/main/java/org/apache/commons/validator/Form.java:85
↓ 4 callersMethodaddForm
Add a {@code Form} to the {@code FormSet}. @param f The form
src/main/java/org/apache/commons/validator/FormSet.java:123
↓ 4 callersMethodaddFormSet
Add a {@code FormSet} to this {@code ValidatorResources} object. It will be associated with the {@link Locale} of the {@code FormSet}. @param fs The
src/main/java/org/apache/commons/validator/ValidatorResources.java:258
↓ 4 callersMethodcalculateModulus
Calculate the modulus for an ISIN code. @param code The code to calculate the modulus for. @param includesCheckDigit Whether the code i
src/main/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigit.java:67
↓ 4 callersMethodchompLeadingDot
(final String str)
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:2170
↓ 4 callersMethoddisplayKey
Returns a string representation of the object's key. @return A string representation of the key
src/main/java/org/apache/commons/validator/FormSet.java:140
↓ 4 callersMethodformatInt
Checks if the value can safely be converted to an int primitive. @param value The value validation is being performed on. @return the converted Integ
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:248
↓ 4 callersMethodgetBundle
Returns the resource bundle name. @return The bundle name. @since 1.2.0
src/main/java/org/apache/commons/validator/Var.java:114
↓ 4 callersMethodgetCountry
Gets the equivalent of the country component of {@link Locale}. @return The country value
src/main/java/org/apache/commons/validator/FormSet.java:172
↓ 4 callersMethodgetFlags
Returns the current flags. @return collection of boolean flags represented.
src/main/java/org/apache/commons/validator/util/Flags.java:111
↓ 4 callersMethodgetInstance
Gets the singleton instance of the IBAN validator using the default formats. @return A singleton instance of the IBAN validator.
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:287
↓ 4 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the DoubleValidator.
src/main/java/org/apache/commons/validator/routines/DoubleValidator.java:76
↓ 4 callersMethodgetIntegerOnlyFormat
(final Locale locale)
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:363
↓ 4 callersMethodgetMsgMap
Returns a Map of String Msg names to Msg objects. @return A Map of the Field's messages. @since 1.2.0
src/main/java/org/apache/commons/validator/Field.java:522
↓ 4 callersMethodgetPropertyNames
Gets the set of property names for which at least one message has been recorded. @return An unmodifiable Set of the property names.
src/main/java/org/apache/commons/validator/ValidatorResults.java:95
↓ 4 callersMethodgetValue
Gets the value.
src/test/java/org/apache/commons/validator/ValueBean.java:29
↓ 4 callersMethodisIndexed
If there is a value specified for the indexedProperty field then {@code true} will be returned. Otherwise, it will be {@code false}. @return Whether
src/main/java/org/apache/commons/validator/Field.java:633
↓ 4 callersMethodmerge
Merge another ValidatorResults into mine. @param results ValidatorResults to merge.
src/main/java/org/apache/commons/validator/ValidatorResults.java:153
↓ 4 callersMethodprintResults
Dumps out the Bean in question and the results of validating it.
src/example/org/apache/commons/validator/example/ValidateExample.java:131
↓ 4 callersMethodsetDate
(final String date)
src/test/java/org/apache/commons/validator/ValidatorTest.java:52
↓ 4 callersMethodsetLetter
(final String letter)
src/test/java/org/apache/commons/validator/ValidatorTest.java:56
↓ 4 callersMethodsetProperty
Sets the property name of the field. @param property The field's property name.
src/main/java/org/apache/commons/validator/Field.java:851
↓ 4 callersMethodtoBigDecimal
(final Object value)
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:90
← previousnext →101–200 of 1,283, ranked by callers