MCPcopy Create free account

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

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

↓ 2 callersMethodtoString
Returns a string representation of the object. @return a string representation.
src/main/java/org/apache/commons/validator/ValidatorAction.java:739
↓ 2 callersMethodvalidate
Run the configured validations on this field. Run all validations in the depends clause over each item in turn, returning when the first one fails.
src/main/java/org/apache/commons/validator/Field.java:898
↓ 2 callersMethodvalidate
Checks the code is valid ISSN code. <p> If valid, this method returns the ISSN code with the 'ISSN ' prefix removed (if it was present) </p> @param c
src/main/java/org/apache/commons/validator/routines/ISSNValidator.java:196
↓ 2 callersMethodvalidateForRule
Executes the given ValidatorAction and all ValidatorActions that it depends on. @return true if the validation succeeded.
src/main/java/org/apache/commons/validator/Field.java:941
↓ 2 callersMethodvalueTest
Utility class to run a test on a value. @param info Value to run test on. @param passed Whether or not the test is expected to pass.
src/test/java/org/apache/commons/validator/AbstractNumberTest.java:84
↓ 1 callersMethodaddAllowedCardType
Adds an allowed CreditCardType that participates in the card validation algorithm. @param type The type that is now allowed to pass validation. @sinc
src/main/java/org/apache/commons/validator/CreditCardValidator.java:205
↓ 1 callersMethodaddOldArgRules
Create a {@code Rule} to handle {@code arg0-arg3} elements. This will allow validation.xml files that use the versions of the DTD prior to Validator 1
src/main/java/org/apache/commons/validator/ValidatorResources.java:286
↓ 1 callersMethodaddVar
Add a {@code Var}, based on the values passed in, to the {@code Field}. @param name Name of the validation. @param value The Argument's value. @param
src/main/java/org/apache/commons/validator/Field.java:200
↓ 1 callersMethodbuildKey
Builds a key to store the {@code FormSet} under based on its language, country, and variant values. @param fs The Form Set. @return generated key for
src/main/java/org/apache/commons/validator/ValidatorResources.java:343
↓ 1 callersMethodcheckCode
(final String code)
src/main/java/org/apache/commons/validator/routines/ISINValidator.java:450
↓ 1 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/IBANCheckDigitTest.java:45
↓ 1 callersMethodcloneInvalid
()
src/test/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigitTest.java:37
↓ 1 callersMethodcloneValid
()
src/test/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigitTest.java:41
↓ 1 callersMethodcloseQuietly
(final Closeable in)
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:58
↓ 1 callersMethodcompareTime
Compares a calendar time value to another, indicating whether it is equal, less than or more than at a specified level. @param value The Calendar
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:190
↓ 1 callersMethodcompareWeek
Compares the week two calendars fall in, ordering by the actual week rather than by the {@code WEEK_OF_YEAR} or {@code WEEK_OF_MONTH} number alone. Th
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:234
↓ 1 callersMethodcontainsField
Returns true if this Form contains a Field with the given name. @param fieldName The field name @return True if this form contains the fie
src/main/java/org/apache/commons/validator/Form.java:97
↓ 1 callersMethodcopyMap
Makes a deep copy of a {@link Map} if the values are {@code Msg}, {@code Arg}, or {@code Var}. Otherwise, it is a shallow copy. @param map The sourc
src/main/java/org/apache/commons/validator/util/ValidatorUtils.java:87
↓ 1 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/routines/UrlValidator.java:325
↓ 1 callersMethodcreateFormSet
Create or retrieve a {@code FormSet} based on the language, country and variant. @param resources The validator resources. @param language The loc
src/main/java/org/apache/commons/validator/FormSetFactory.java:52
↓ 1 callersMethodcreateInvalidCodes
Returns an array of codes with invalid check digits. @param codes Codes with valid check digits @return Codes with invalid check digits
src/test/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigitTest.java:102
↓ 1 callersMethodcreateNameBean
Create a NameBean.
src/test/java/org/apache/commons/validator/ParameterTest.java:53
↓ 1 callersMethodcreateValidators
(final Validator[] validators)
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:309
↓ 1 callersMethoddetermineArgPosition
Calculate the position of the Arg
src/main/java/org/apache/commons/validator/Field.java:249
↓ 1 callersMethoddetermineScale
Returns the <em>multiplier</em> of the {@code NumberFormat}. @param format The {@code NumberFormat} to determine the multiplier of. @return The multi
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:143
↓ 1 callersMethodensureArgsCapacity
Ensures that the args array can hold the given arg. Resizes the array as necessary. @param arg Determine if the args array is long enough to store t
src/main/java/org/apache/commons/validator/Field.java:294
↓ 1 callersMethodexecuteValidationMethod
Dynamically runs the validation method for this validator and returns true if the data is valid. @param field @param params A Map of class names to
src/main/java/org/apache/commons/validator/ValidatorAction.java:152
↓ 1 callersMethodfmtRE
(final String ibanPat, final int ibanLength)
src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java:231
↓ 1 callersMethodformatJavaScriptFileName
@return A file name suitable for passing to a {@link ClassLoader#getResourceAsStream(String)} method.
src/main/java/org/apache/commons/validator/ValidatorAction.java:206
↓ 1 callersMethodgenerateJsFunction
Used to generate the JavaScript name when it is not specified.
src/main/java/org/apache/commons/validator/ValidatorAction.java:219
↓ 1 callersMethodgenericCreditCardValidator
Creates a new generic CreditCardValidator which validates the syntax and check digit only. Does not check the Issuer Identification Number (IIN) @ret
src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java:342
↓ 1 callersMethodgetClassLoader
Gets the class loader to be used for instantiating application objects when required. This is determined based upon the following rules: <ul> <li>The
src/main/java/org/apache/commons/validator/Validator.java:244
↓ 1 callersMethodgetClassname
Gets the class of the validator action. @return Class name of the validator Action.
src/main/java/org/apache/commons/validator/ValidatorAction.java:242
↓ 1 callersMethodgetDefaultValidators
Gets a copy of the default Validators. @return a copy of the default Validator array.
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:325
↓ 1 callersMethodgetDependencyList
Gets an unmodifiable {@code List} of the dependencies in the same order they were defined in parameter passed to the setDepends() method. @return A l
src/main/java/org/apache/commons/validator/Field.java:377
↓ 1 callersMethodgetDepends
Gets the validation rules for this field as a comma separated list. @return A comma separated list of validator names.
src/main/java/org/apache/commons/validator/Field.java:386
↓ 1 callersMethodgetFormSet
Gets a {@code FormSet} based on the language, country and variant. @param language The locale's language. @param country The locale's country. @pa
src/main/java/org/apache/commons/validator/ValidatorResources.java:483
↓ 1 callersMethodgetFormat
get a {@code Format} for the specified <em>pattern</em> and/or {@link Locale}. @param pattern The pattern used to validate the value against or {@cod
src/main/java/org/apache/commons/validator/routines/AbstractFormatValidator.java:113
↓ 1 callersMethodgetFormat
Returns a {@code NumberFormat} for the specified Locale. @param locale The locale a {@code NumberFormat} is required for, system default if null. @re
src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java:175
↓ 1 callersMethodgetHtmlInfo
(final File f)
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:104
↓ 1 callersMethodgetIbanLength
Gets the length. @return the length. @since 1.10.0
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:133
↓ 1 callersMethodgetIndexedProperty
Gets the indexed property name of the field. This is the method name that can take an {@code int} as a parameter for indexed property value retrieval
src/main/java/org/apache/commons/validator/Field.java:419
↓ 1 callersMethodgetIndexedPropertySize
Returns the size of an indexed property from the object we're validating. @param bean The bean to extract the indexed values from. @throws ValidatorE
src/main/java/org/apache/commons/validator/Field.java:451
↓ 1 callersMethodgetInstance
Gets the singleton instance of the ISSN validator. @return A singleton instance of the ISSN validator.
src/main/java/org/apache/commons/validator/routines/ISSNValidator.java:91
↓ 1 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the TimeValidator.
src/main/java/org/apache/commons/validator/routines/TimeValidator.java:95
↓ 1 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the EC Number validator.
src/main/java/org/apache/commons/validator/routines/checkdigit/ECNumberCheckDigit.java:66
↓ 1 callersMethodgetInstance
Gets the singleton instance of this validator. @return A singleton instance of the CAS Number validator.
src/main/java/org/apache/commons/validator/routines/checkdigit/CASNumberCheckDigit.java:80
↓ 1 callersMethodgetKey
Gets the key/value. @return The message key/value.
src/main/java/org/apache/commons/validator/Msg.java:96
↓ 1 callersMethodgetMethod
Gets the name of method being called for the validator action. @return The method name.
src/main/java/org/apache/commons/validator/ValidatorAction.java:301
↓ 1 callersMethodgetMsg
Gets the message associated with the validator action. @return The message for the validator action.
src/main/java/org/apache/commons/validator/ValidatorAction.java:319
↓ 1 callersMethodgetName
Gets the name/key of the set of validation rules. @return The name value
src/main/java/org/apache/commons/validator/Form.java:149
↓ 1 callersMethodgetOnlyReturnErrors
Returns true if the Validator is only returning Fields that fail validation. @return whether only failed fields are returned.
src/main/java/org/apache/commons/validator/Validator.java:283
↓ 1 callersMethodgetParameterValues
Converts a List of parameter class names into their values contained in the parameters Map. @param params A Map of class names to parameter values. @
src/main/java/org/apache/commons/validator/ValidatorAction.java:339
↓ 1 callersMethodgetParent
Finds the given formSet's parent. ex: A formSet with locale en_UK_TEST1 has a direct parent in the formSet with locale en_UK. If it doesn't exist, fin
src/main/java/org/apache/commons/validator/ValidatorResources.java:529
↓ 1 callersMethodgetRegexValidator
Gets the RegexValidator. @return the RegexValidator. @since 1.8
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:143
↓ 1 callersMethodgetResult
Gets the result returned by a validation method. This can be used to retrieve to the correctly typed value of a date validation for example. @return
src/main/java/org/apache/commons/validator/ValidatorResult.java:76
↓ 1 callersMethodgetResult
Gets the result of a validation. @param validatorName Name of the validator. @return The validation result.
src/main/java/org/apache/commons/validator/ValidatorResult.java:203
↓ 1 callersMethodgetValidationClassInstance
Gets an instance of the validation class or null if the validation method is static so does not require an instance to be executed.
src/main/java/org/apache/commons/validator/ValidatorAction.java:354
↓ 1 callersMethodgetValidatorAction
Gets a {@code ValidatorAction} based on its name. @param key The validator action key. @return The validator action.
src/main/java/org/apache/commons/validator/ValidatorResources.java:557
↓ 1 callersMethodgetValidatorActions
Gets an unmodifiable {@link Map} of the {@code ValidatorAction}s. @return Map of validator actions.
src/main/java/org/apache/commons/validator/ValidatorResources.java:566
↓ 1 callersMethodhandleIndexedField
Modifies the paramValue array with indexed fields. @param field @param pos @param paramValues
src/main/java/org/apache/commons/validator/ValidatorAction.java:378
↓ 1 callersMethodhashCode
The hash code is based on the current state of the flags. @see Object#hashCode() @return the hash code for this object.
src/main/java/org/apache/commons/validator/util/Flags.java:121
↓ 1 callersMethodincrementTestPartsIndex
(final int[] testPartsIndex, final Object[] testParts)
src/test/java/org/apache/commons/validator/UrlTest.java:34
↓ 1 callersMethodincrementTestPartsIndex
(final int[] testPartsIndex, final Object[] testParts)
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java:41
↓ 1 callersMethodinit
Initialize based on set.
src/main/java/org/apache/commons/validator/ValidatorAction.java:399
↓ 1 callersMethodisAsciiAlpha
(final char ch)
src/main/java/org/apache/commons/validator/routines/checkdigit/AbstractCheckDigit.java:30
↓ 1 callersMethodisByte
Checks if the value can safely be converted to a byte primitive. @param value The value validation is being performed on. @return true if the value c
src/main/java/org/apache/commons/validator/GenericValidator.java:77
↓ 1 callersMethodisDouble
Checks if the value can safely be converted to a double primitive. @param value The value validation is being performed on. @return true if the value
src/main/java/org/apache/commons/validator/GenericValidator.java:128
↓ 1 callersMethodisEmail
Checks if a field has a valid e-mail address. @param value The value validation is being performed on. @return true if the value is valid Email Addre
src/main/java/org/apache/commons/validator/GenericValidator.java:138
↓ 1 callersMethodisExtending
Gets extends flag. @return The extending value @since 1.2.0
src/main/java/org/apache/commons/validator/Form.java:159
↓ 1 callersMethodisFloat
Checks if the value can safely be converted to a float primitive. @param value The value validation is being performed on. @return true if the value
src/main/java/org/apache/commons/validator/GenericValidator.java:148
↓ 1 callersMethodisInt
Checks if the value can safely be converted to an int primitive. @param value The value validation is being performed on. @return true if the value c
src/main/java/org/apache/commons/validator/GenericValidator.java:236
↓ 1 callersMethodisLong
Checks if the value can safely be converted to a long primitive. @param value The value validation is being performed on. @return true if the value c
src/main/java/org/apache/commons/validator/GenericValidator.java:246
↓ 1 callersMethodisNotInRootZone
Check whether the domain is in the root zone currently. Reads the URL https://www.iana.org/domains/root/db/ domain .html (using a local disk cache) an
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java:184
↓ 1 callersMethodisOnlyASCII
(final String input)
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:1924
↓ 1 callersMethodisProcessed
Whether or not the this {@code FormSet} was processed for replacing variables in strings with their values. @return The processed value
src/main/java/org/apache/commons/validator/FormSet.java:274
↓ 1 callersMethodisShort
Checks if the value can safely be converted to a short primitive. @param value The value validation is being performed on. @return true if the value
src/main/java/org/apache/commons/validator/GenericValidator.java:256
↓ 1 callersMethodisStringOrNull
(final Object o)
src/test/java/org/apache/commons/validator/GenericValidatorImpl.java:32
↓ 1 callersMethodisValid
If the result object is a {@code Boolean}, it will return its value. If not it will return {@code false} if the object is {@code null} and {@code true
src/main/java/org/apache/commons/validator/ValidatorAction.java:417
↓ 1 callersMethodisValid
Tests whether or not the validation passed. @return true if the result was good.
src/main/java/org/apache/commons/validator/ValidatorResult.java:85
↓ 1 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/routines/UrlValidator.java:410
↓ 1 callersMethodisValidDomain
Returns true if the domain component of an email address is valid. @param domain being validated, may be in IDN format @return true if the email addr
src/main/java/org/apache/commons/validator/routines/EmailValidator.java:199
↓ 1 callersMethodisValidFragment
Returns true if the given fragment is null or fragments are allowed. @param fragment Fragment value to validate. @return true if fragment is valid.
src/main/java/org/apache/commons/validator/UrlValidator.java:385
↓ 1 callersMethodisValidFragment
Returns true if the given fragment is null or fragments are allowed. @param fragment Fragment value to validate. @return true if fragment is valid.
src/main/java/org/apache/commons/validator/routines/UrlValidator.java:476
↓ 1 callersMethodisValidPath
Returns true if the path is valid. A {@code null} value is considered invalid. @param path Path value to validate. @return true if path is valid.
src/main/java/org/apache/commons/validator/UrlValidator.java:399
↓ 1 callersMethodisValidPath
Returns true if the path is valid. A {@code null} value is considered invalid. @param path Path value to validate. @return true if path is valid.
src/main/java/org/apache/commons/validator/routines/UrlValidator.java:490
↓ 1 callersMethodisValidQuery
Returns true if the query is null, or it's a properly formatted query string. @param query Query value to validate. @return true if query is valid.
src/main/java/org/apache/commons/validator/UrlValidator.java:424
↓ 1 callersMethodisValidQuery
Returns true if the query is null, or it's a properly formatted query string. @param query Query value to validate. @return true if query is valid.
src/main/java/org/apache/commons/validator/routines/UrlValidator.java:522
↓ 1 callersMethodisValidScheme
Validate scheme. If schemes[] was initialized to a non-null, then only those schemes are allowed. Otherwise, the default schemes are "http", "https",
src/main/java/org/apache/commons/validator/routines/UrlValidator.java:539
↓ 1 callersMethodisValidSymbolicDomain
Validates a symbolic domain name. Returns true if it's valid. @param domain symbolic domain name @return true if the symbolic domain name is valid.
src/main/java/org/apache/commons/validator/EmailValidator.java:158
↓ 1 callersMethodisValidUser
Returns true if the user component of an email address is valid. @param user being validated @return true if the username is valid.
src/main/java/org/apache/commons/validator/routines/EmailValidator.java:221
↓ 1 callersMethodisVowel
(final char character)
src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java:75
↓ 1 callersMethodjavaScriptAlreadyLoaded
@return true if the JavaScript for this action has already been loaded.
src/main/java/org/apache/commons/validator/ValidatorAction.java:428
↓ 1 callersMethodkeepsTrailingDot
()
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:116
↓ 1 callersMethodloadJavascriptFunction
Load the JavaScript function specified by the given path. For this implementation, the {@code jsFunction} property should contain a fully qualified pa
src/main/java/org/apache/commons/validator/ValidatorAction.java:439
↓ 1 callersMethodloadParameterClasses
Converts a List of parameter class names into their Class objects. Stores the output in {@link #parameterClasses}. This array is in the same order as
src/main/java/org/apache/commons/validator/ValidatorAction.java:473
↓ 1 callersMethodloadValidationClass
Load the Class object for the configured validation class name. @param loader The ClassLoader used to load the Class object. @throws ValidatorExcepti
src/main/java/org/apache/commons/validator/ValidatorAction.java:501
↓ 1 callersMethodloadValidationMethod
Load the Method object for the configured validation method name. @throws ValidatorException
src/main/java/org/apache/commons/validator/ValidatorAction.java:519
↓ 1 callersMethodluhnCheck
Checks for a valid credit card number. @param cardNumber Credit Card Number. @return Whether the card number passes the luhnCheck.
src/main/java/org/apache/commons/validator/CreditCardValidator.java:234
↓ 1 callersMethodmatch
(final String value)
src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java:305
← previousnext →301–400 of 1,283, ranked by callers