MCPcopy Create free account

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

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

↓ 4 callersMethodtoBigInteger
(final Object value)
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:107
↓ 4 callersMethodtoString
Return a string representation of this implementation. @return a string representation.
src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java:217
↓ 3 callersMethodaddValidatorAction
Add a {@code ValidatorAction} to the resource. It also creates an instance of the class based on the {@code ValidatorAction}s class name and retrieve
src/main/java/org/apache/commons/validator/ValidatorResources.java:326
↓ 3 callersMethodcheckDigit
Returns the check digit (i.e. last character) for a code. @param code The code @return The check digit
src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java:88
↓ 3 callersMethodclone
Creates and returns a copy of this object. @return A copy of the variable.
src/main/java/org/apache/commons/validator/Var.java:98
↓ 3 callersMethodcopyFastHashMap
Makes a deep copy of a {@code FastHashMap} if the values are {@code Msg}, {@code Arg}, or {@code Var}. Otherwise, it is a shallow copy. @param fastHa
src/main/java/org/apache/commons/validator/util/ValidatorUtils.java:56
↓ 3 callersMethodcountToken
Returns the number of times the token appears in the target. @param token Token value to be counted. @param target Target value to count tokens in. @
src/main/java/org/apache/commons/validator/UrlValidator.java:249
↓ 3 callersMethodcreateRangeValidator
(final CreditCardRange[] creditCardRanges, final CheckDigit digitCheck)
src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java:293
↓ 3 callersMethoddownload
(final File file, final String tldUrl, final long timestamp)
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:72
↓ 3 callersMethodformatByte
Checks if the value can safely be converted to a byte primitive. @param value The value validation is being performed on. @return the converted Byte
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:46
↓ 3 callersMethodformatDate
Checks if the field is a valid date. <p> The {@link Locale} is used with {@link java.text.DateFormat}. The {@link java.text.DateFormat#setLenient(boo
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:103
↓ 3 callersMethodformatDouble
Checks if the value can safely be converted to a double primitive. @param value The value validation is being performed on. @return the converted Dou
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:172
↓ 3 callersMethodformatFloat
Checks if the value can safely be converted to a float primitive. @param value The value validation is being performed on. @return the converted Floa
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:210
↓ 3 callersMethodformatShort
Checks if the value can safely be converted to a short primitive. @param value The value validation is being performed on. @return the converted Shor
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:331
↓ 3 callersMethodgetActions
Returns a Map of String ValidatorAction names to their ValidatorAction. @return Map of Validator Actions @since 1.2.0
src/main/java/org/apache/commons/validator/ValidatorResources.java:364
↓ 3 callersMethodgetForms
A {@link Map} of {@code Form}s is returned as an unmodifiable {@link Map} with the key based on the form name. @return The forms map
src/main/java/org/apache/commons/validator/FormSet.java:192
↓ 3 callersMethodgetJsType
Gets the JavaScript type of the variable. @return The JavaScript type of the variable.
src/main/java/org/apache/commons/validator/Var.java:123
↓ 3 callersMethodgetParameterValue
Returns the value of the specified parameter that will be used during the processing of validations. @param parameterClassName The full class name of
src/main/java/org/apache/commons/validator/Validator.java:320
↓ 3 callersMethodgetType
Returns the type of {@code FormSet}:{@code GLOBAL_FORMSET}, {@code LANGUAGE_FORMSET},{@code COUNTRY_FORMSET} or {@code VARIANT_FORMSET}. @return
src/main/java/org/apache/commons/validator/FormSet.java:231
↓ 3 callersMethodgetVariant
Gets the equivalent of the variant component of {@link Locale}. @return The variant value
src/main/java/org/apache/commons/validator/FormSet.java:254
↓ 3 callersMethodinitDigester
Initialize the digester.
src/main/java/org/apache/commons/validator/ValidatorResources.java:573
↓ 3 callersMethodisInIanaList
(final DomainValidator.ArrayType arraytype, final Set<String> ianaTlds)
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:161
↓ 3 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 fla
src/main/java/org/apache/commons/validator/routines/UrlValidator.java:345
↓ 3 callersMethodisResource
Tests whether or not the value is a resource key or literal value. @return {@code true} if value is a resource key. @since 1.2.0
src/main/java/org/apache/commons/validator/Var.java:151
↓ 3 callersMethodisValid
Tests if the specified string is a valid IPv4 or IPv6 address. @param inetAddress the string to validate @return true if the string validates as an I
src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java:93
↓ 3 callersMethodisValidInet4Address
Validates an IPv4 address. Returns true if valid. @param inet4Address the IPv4 address to validate @return true if the argument contains a valid IPv4
src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java:103
↓ 3 callersMethodisValidInfrastructureTld
Tests whether the specified {@link String} matches any IANA-defined infrastructure top-level domain. Leading dots are ignored if present. The search i
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:2296
↓ 3 callersMethodisValidScheme
Validate scheme. If schemes[] was initialized to a non-null, then only those schemes are allowed. Note this is slightly different than for the constr
src/main/java/org/apache/commons/validator/UrlValidator.java:441
↓ 3 callersMethodmaxValue
Checks if the value is less than or equal to the max. @param value The value validation is being performed on. @param max The maximum numeric value.
src/main/java/org/apache/commons/validator/GenericValidator.java:320
↓ 3 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/ShortValidator.java:146
↓ 3 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/LongValidator.java:145
↓ 3 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/IntegerValidator.java:146
↓ 3 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/ByteValidator.java:146
↓ 3 callersMethodminValue
Checks if the value is greater than or equal to the min. @param value The value validation is being performed on. @param min The minimum numeric valu
src/main/java/org/apache/commons/validator/GenericValidator.java:390
↓ 3 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/ShortValidator.java:170
↓ 3 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/LongValidator.java:169
↓ 3 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/IntegerValidator.java:170
↓ 3 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/ByteValidator.java:170
↓ 3 callersMethodprocessMessageComponents
Replace the args key value with the key/value pairs passed in.
src/main/java/org/apache/commons/validator/Field.java:705
↓ 3 callersMethodremoveCheckDigit
Returns a code with the Check Digit (i.e. last character) removed. @param code The code @return The code without the check digit
src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java:124
↓ 3 callersMethodsetByte
(final String sByte)
src/test/java/org/apache/commons/validator/TypeBean.java:65
↓ 3 callersMethodsetClassName
Sets the class of the validator action. @param className Class name of the validator Action.
src/main/java/org/apache/commons/validator/ValidatorAction.java:606
↓ 3 callersMethodsetDepends
Sets the validation rules for this field as a comma separated list. @param depends A comma separated list of validator names.
src/main/java/org/apache/commons/validator/Field.java:784
↓ 3 callersMethodsetDouble
(final String sDouble)
src/test/java/org/apache/commons/validator/TypeBean.java:77
↓ 3 callersMethodsetFloat
(final String sFloat)
src/test/java/org/apache/commons/validator/TypeBean.java:81
↓ 3 callersMethodsetInteger
(final String sInteger)
src/test/java/org/apache/commons/validator/TypeBean.java:85
↓ 3 callersMethodsetKey
Sets a unique key for the field. This can be used to change the key temporarily to have a unique key for an indexed field. @param key a unique key f
src/main/java/org/apache/commons/validator/Field.java:832
↓ 3 callersMethodsetLong
(final String sLong)
src/test/java/org/apache/commons/validator/TypeBean.java:89
↓ 3 callersMethodsetMethod
Sets the name of method being called for the validator action. @param method The method name.
src/main/java/org/apache/commons/validator/ValidatorAction.java:692
↓ 3 callersMethodsetMethodParams
Sets the method parameters for the method. @param methodParams A comma separated list of parameters.
src/main/java/org/apache/commons/validator/ValidatorAction.java:701
↓ 3 callersMethodsetName
Sets the name of the dependency. @param name the name of the dependency.
src/main/java/org/apache/commons/validator/Arg.java:164
↓ 3 callersMethodsetName
Sets the name of the validator action. @param name Validator Action name.
src/main/java/org/apache/commons/validator/ValidatorAction.java:730
↓ 3 callersMethodsetOnlyReturnErrors
Configures which Fields the Validator returns from the validate() method. Set this to true to only return Fields that failed validation. By default,
src/main/java/org/apache/commons/validator/Validator.java:380
↓ 3 callersMethodsetShort
(final String sShort)
src/test/java/org/apache/commons/validator/TypeBean.java:93
↓ 3 callersMethodsetupDateResources
(final String property, final String action)
src/test/java/org/apache/commons/validator/ValidatorTest.java:98
↓ 3 callersMethodsumDigits
Adds together the individual digits in a number. @param number The number whose digits are to be added. @return The sum of the digits.
src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java:48
↓ 3 callersMethodturnOn
Turns on the given flag. If the flag is not a power of 2 (for example, 3) this turns on multiple flags. @param flag Flag value to turn on.
src/main/java/org/apache/commons/validator/util/Flags.java:187
↓ 3 callersMethodvalidate
Validate an IBAN Code. @param code The value validation is being performed on. @return {@link IBANValidatorStatus} for validation. @since 1.10.0
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:419
↓ 2 callersMethodadjustForLineEnding
Calculate an adjustment amount for line endings. See Bug 37962 for the rationale behind this. @param value The value validation is being performed o
src/main/java/org/apache/commons/validator/GenericValidator.java:44
↓ 2 callersMethodcalculateChecksum
Calculate the checksum. @param code The code to calculate the checksum for. @param includesCheckDigit Whether the code includes the Che
src/main/java/org/apache/commons/validator/routines/checkdigit/VerhoeffCheckDigit.java:100
↓ 2 callersMethodcalculateModulus
Calculate the modulus for a code. @param code The code to calculate the modulus for. @return The modulus value, @throws CheckDigitException if an err
src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java:92
↓ 2 callersMethodcalculateModulus
Calculates the modulus for a code. @param code The code to calculate the modulus for. @param includesCheckDigit Whether the code includ
src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java:104
↓ 2 callersMethodcalculateQuarter
Calculate the quarter for the specified Calendar. @param calendar The Calendar value. @param monthOfFirstQuarter The month that the first quarter st
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:92
↓ 2 callersMethodcheckNotRun
Check a validator has not been run for a field and the result.
src/test/java/org/apache/commons/validator/ValidatorResultsTest.java:48
↓ 2 callersMethodcompareTo
Compares two values as BigDecimals. @param value1 {@code BigDecimal} to compare. @param value2 {@code BigDecimal} to which {@code value1} is to be co
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:63
↓ 2 callersMethodcreateNameBean
Create a NameBean.
src/test/java/org/apache/commons/validator/ValidatorResultsTest.java:69
↓ 2 callersMethodformatToRE
(final String type, final int len)
src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java:261
↓ 2 callersMethodgenerateKey
Generate correct {@code key} value.
src/main/java/org/apache/commons/validator/Field.java:307
↓ 2 callersMethodgetActions
Gets an Iterator of the action names contained in this Result. @return The set of action names.
src/main/java/org/apache/commons/validator/ValidatorResult.java:184
↓ 2 callersMethodgetClassLoader
Returns the ClassLoader set in the Validator contained in the parameter Map.
src/main/java/org/apache/commons/validator/ValidatorAction.java:232
↓ 2 callersMethodgetConstants
Returns a Map of String constant names to their String values. @return Map of Constants @since 1.2.0
src/main/java/org/apache/commons/validator/ValidatorResources.java:375
↓ 2 callersMethodgetForm
Gets a {@code Form} based on the name of the form and the {@link Locale} that most closely matches the {@link Locale} passed in. The order of {@link L
src/main/java/org/apache/commons/validator/ValidatorResources.java:396
↓ 2 callersMethodgetFormat
Returns a {@code DateFormat} for the specified Locale. @param locale The locale a {@code DateFormat} is required for, system default if null.
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:343
↓ 2 callersMethodgetIndexedListProperty
Gets the indexed property name of the field. This is the method name that will return an array or a {@link Collection} used to retrieve the list and
src/main/java/org/apache/commons/validator/Field.java:408
↓ 2 callersMethodgetInstance
Returns the singleton instance of this class with default schemes and options. @return singleton instance with default schemes and options
src/main/java/org/apache/commons/validator/routines/UrlValidator.java:173
↓ 2 callersMethodgetInstance
Gets the singleton instance of the ISIN validator. @param checkCountryCode whether to check the country-code prefix or not @return A singleton instan
src/main/java/org/apache/commons/validator/routines/ISINValidator.java:437
↓ 2 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the DateValidator.
src/main/java/org/apache/commons/validator/routines/DateValidator.java:95
↓ 2 callersMethodgetNumberFormat
(final Locale locale)
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:369
↓ 2 callersMethodgetPage
Gets the page value that the Field is associated with for validation. @return The page number.
src/main/java/org/apache/commons/validator/Field.java:533
↓ 2 callersMethodgetResultValueMap
Gets a {@link Map} of any {@code Object}s returned from validation routines. @return Map of objections returned by validators.
src/main/java/org/apache/commons/validator/ValidatorResults.java:105
↓ 2 callersMethodgetValidator
(final Map<String, Object> params)
src/main/java/org/apache/commons/validator/ValidatorAction.java:367
↓ 2 callersMethodhandleMissingAction
Called when a validator name is used in a depends clause but there is no know ValidatorAction configured for that name. @param name The name of the v
src/main/java/org/apache/commons/validator/Field.java:600
↓ 2 callersMethodisAllowLocal
Tests whether this instance allow local addresses. @return true if local addresses are allowed. @since 1.7
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:2218
↓ 2 callersMethodisCreditCard
Checks if the field is a valid credit card number. @param value The value validation is being performed on. @return true if the value is valid Credit
src/main/java/org/apache/commons/validator/GenericValidator.java:87
↓ 2 callersMethodisLowerCase
(final String string)
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:173
↓ 2 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/routines/UrlValidator.java:185
↓ 2 callersMethodisProcessed
Whether or not the this {@code Form} was processed for replacing variables in strings with their values. @return The processed value @since 1.2.0
src/main/java/org/apache/commons/validator/Form.java:170
↓ 2 callersMethodisStrict
Tests whether validated values should adhere strictly to the {@code Format} used. <p> Typically implementations of {@code Format} ignore invalid chara
src/main/java/org/apache/commons/validator/routines/AbstractFormatValidator.java:125
↓ 2 callersMethodisValid
Validate using the specified {@link Locale}. @param value The value validation is being performed on. @param pattern The pattern used to format the v
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:402
↓ 2 callersMethodisValidDomain
Returns true if the domain component of an email address is valid. @param domain being validated. @return true if the email address's domain is valid
src/main/java/org/apache/commons/validator/EmailValidator.java:98
↓ 2 callersMethodlocaleTest
Tests the locale.
src/test/java/org/apache/commons/validator/GenericTypeValidatorTest.java:53
↓ 2 callersMethodprintMap
(final String header, final Map<String, String> map, final String string)
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:365
↓ 2 callersMethodprocessVars
Replace the vars value with the key/value pairs passed in.
src/main/java/org/apache/commons/validator/Field.java:720
↓ 2 callersMethodsetAge
(String age)
src/example/org/apache/commons/validator/example/ValidateBean.java:54
↓ 2 callersMethodsetDate
(final String sDate)
src/test/java/org/apache/commons/validator/TypeBean.java:73
↓ 2 callersMethodsetKey
Sets the key/value. @param key They to access the argument.
src/main/java/org/apache/commons/validator/Arg.java:155
↓ 2 callersMethodsetParseBigDecimal
(final Format format)
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:83
↓ 2 callersMethodsetUp
()
src/test/java/org/apache/commons/validator/UrlTest.java:111
↓ 2 callersMethodtoCheckDigit
(final int charValue)
src/main/java/org/apache/commons/validator/routines/checkdigit/ISSNCheckDigit.java:67
↓ 2 callersMethodtoCompileFlags
(final boolean caseSensitive)
src/main/java/org/apache/commons/validator/routines/RegexValidator.java:74
← previousnext →201–300 of 1,283, ranked by callers