MCPcopy Create free account

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

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

MethodLongTest
()
src/test/java/org/apache/commons/validator/LongTest.java:26
MethodLongValidator
Constructs a <em>strict</em> instance.
src/main/java/org/apache/commons/validator/routines/LongValidator.java:82
MethodLuhnCheckDigit
Constructs a modulus 10 Luhn Check Digit routine.
src/main/java/org/apache/commons/validator/routines/checkdigit/LuhnCheckDigit.java:55
MethodModulusCheckDigit
Constructs a modulus 10 {@link CheckDigit} routine for a specified modulus.
src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java:66
MethodModulusTenCheckDigit
Constructs a modulus 10 Check Digit routine with the specified weighting from left to right. @param positionWeight the weighted values to apply based
src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java:147
MethodMsg
Constructs a new instance.
src/main/java/org/apache/commons/validator/Msg.java:62
MethodPercentValidator
Constructs a <em>strict</em> instance.
src/main/java/org/apache/commons/validator/routines/PercentValidator.java:70
MethodRegexValidator
Constructs a new instance that matches any one of the set of regular expressions with the specified case sensitivity. @param regexs The set of regula
src/main/java/org/apache/commons/validator/routines/RegexValidator.java:89
MethodResultPair
(final String item, final boolean valid)
src/test/java/org/apache/commons/validator/ResultPair.java:26
MethodResultStatus
Constructs a Result status. @param valid Whether the validator passed or failed. @param result Value returned by the validator.
src/main/java/org/apache/commons/validator/ValidatorResult.java:51
MethodSedolCheckDigit
Constructs a modulus 10 Check Digit routine for ISBN-10.
src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java:56
MethodShortTest
()
src/test/java/org/apache/commons/validator/ShortTest.java:26
MethodShortValidator
Constructs a <em>strict</em> instance.
src/main/java/org/apache/commons/validator/routines/ShortValidator.java:83
MethodTimeValidator
Constructs a <em>strict</em> instance with <em>short</em> time style.
src/main/java/org/apache/commons/validator/routines/TimeValidator.java:103
MethodUrlValidator
Create a UrlValidator with default properties.
src/main/java/org/apache/commons/validator/UrlValidator.java:192
MethodUrlValidator
Constructs a new instance with default properties.
src/main/java/org/apache/commons/validator/routines/UrlValidator.java:213
MethodValidator
Constructs a {@code Validator} that will use the {@code ValidatorResources} passed in to retrieve pluggable validators the different sets of validatio
src/main/java/org/apache/commons/validator/Validator.java:173
MethodValidator
Creates the validator. @param countryCode the country code. @param ibanLength the length of the IBAN. @param regexWithCC the regex to use to check th
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:98
MethodValidatorAction
Constructs a new instance.
src/main/java/org/apache/commons/validator/ValidatorAction.java:139
MethodValidatorException
Constructs an Exception with no specified detail message.
src/main/java/org/apache/commons/validator/ValidatorException.java:32
MethodValidatorResources
Create an empty ValidatorResources object.
src/main/java/org/apache/commons/validator/ValidatorResources.java:127
MethodValidatorResult
Constructs a {@code ValidatorResult} with the associated field being validated. @param field Field that was validated.
src/main/java/org/apache/commons/validator/ValidatorResult.java:131
MethodValidatorResults
Constructs a new instance.
src/main/java/org/apache/commons/validator/ValidatorResults.java:43
MethodValidatorUtils
Constructs a new instance. @deprecated Will be private in the next major version.
src/main/java/org/apache/commons/validator/util/ValidatorUtils.java:161
MethodVar
Constructs a new instance.
src/main/java/org/apache/commons/validator/Var.java:76
MethodVerhoeffCheckDigit
Constructs a new instance.
src/main/java/org/apache/commons/validator/routines/checkdigit/VerhoeffCheckDigit.java:73
Methodadd
Add the result of a validator action. @param field The field validated. @param validatorName The name of the validator. @param result The result of t
src/main/java/org/apache/commons/validator/ValidatorResults.java:54
MethodaddConstant
Add a {@code Constant} to the locale level. @param name The constant name @param value The constant value
src/main/java/org/apache/commons/validator/FormSet.java:110
MethodaddConstant
Add a global constant to the resource. @param name The constant name. @param value The constant value.
src/main/java/org/apache/commons/validator/ValidatorResources.java:242
MethodaddMsg
Add a {@code Msg} to the {@code Field}. @param msg A validation message.
src/main/java/org/apache/commons/validator/Field.java:188
Methodbegin
(final String namespace, final String name, final Attributes attributes)
src/main/java/org/apache/commons/validator/ValidatorResources.java:289
Methodcalculate
Calculate the <em>Check Digit</em> for an IBAN code. <p> <strong>Note:</strong> The check digit is the third and fourth characters and is set to the v
src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java:73
Methodcalculate
Calculate an ISBN-10 or ISBN-13 check digit, depending on the length of the code. <p> If the length of the code is 9, it is treated as an ISBN-10 code
src/main/java/org/apache/commons/validator/routines/checkdigit/ISBNCheckDigit.java:76
Methodcalculate
{@inheritDoc}
src/main/java/org/apache/commons/validator/routines/checkdigit/ECNumberCheckDigit.java:80
Methodcalculate
Calculates a modulus <em>Check Digit</em> for a code which does not yet have one. @param code The code for which to calculate the Check Digit; the ch
src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java:86
Methodcalculate
{@inheritDoc}
src/main/java/org/apache/commons/validator/routines/checkdigit/CASNumberCheckDigit.java:93
Methodcalculate
Calculate a Verhoeff <em>Check Digit</em> for a code. @param code The code to calculate the Check Digit for. @return The calculated Check Digit. @thr
src/main/java/org/apache/commons/validator/routines/checkdigit/VerhoeffCheckDigit.java:84
MethodcalculateModulus
Calculate the modulus for an SEDOL code. @param code The code to calculate the modulus for. @param includesCheckDigit Whether the code
src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java:67
Methodclear
Clears the form name, resources that were added, and the page that was set (if any). This can be called to reinitialize the Validator instance so it
src/main/java/org/apache/commons/validator/Validator.java:225
Methodclear
Clear all results recorded by this object.
src/main/java/org/apache/commons/validator/ValidatorResults.java:85
Methodclone
Creates and returns a copy of this object. @return A copy of this object.
src/main/java/org/apache/commons/validator/Arg.java:85
Methodclone
Creates and returns a copy of this object. @return A copy of the Msg.
src/main/java/org/apache/commons/validator/Msg.java:71
Methodclone
Creates and returns a copy of this object. @return A copy of the Field.
src/main/java/org/apache/commons/validator/Field.java:218
MethodcompareDates
Compare Dates (day, month and year - not time). @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to compare the
src/main/java/org/apache/commons/validator/routines/CalendarValidator.java:151
MethodcompareMonths
Compare Months (month and year). @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to compare the value to. @retu
src/main/java/org/apache/commons/validator/routines/CalendarValidator.java:164
MethodcompareQuarters
Compares a calendar's quarter value to another, indicating whether it is equal, less than or more than the specified quarter. @param value The Cal
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:172
MethodcompareQuarters
Compare Quarters (quarter and year). @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to check the value against
src/main/java/org/apache/commons/validator/routines/CalendarValidator.java:177
MethodcompareWeeks
Compare Weeks (week and year). @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to compare the value to. @return
src/main/java/org/apache/commons/validator/routines/CalendarValidator.java:205
MethodcompareYears
Compare Years. @param value The {@link Calendar} value to check. @param compare The {@link Calendar} to compare the value to. @return Zero if the yea
src/main/java/org/apache/commons/validator/routines/CalendarValidator.java:218
MethodcreateInvalidCodes
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/IBANCheckDigitTest.java:59
MethodcreateObject
Create or retrieve a {@code FormSet} for the specified attributes. @param attributes The sax attributes for the formset element. @return The FormS
src/main/java/org/apache/commons/validator/FormSetFactory.java:91
Methodformat
Format a value with the specified {@code DateFormat}. @param value The value to be formatted. @param formatter The Format to use. @return The formatt
src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java:249
MethodformatCreditCard
Checks if the field is a valid credit card number. <p> Reference Sean M. Burke's <a href="https://www.ling.nwu.edu/~sburke/pub/luhn_lib.pl"> script</
src/main/java/org/apache/commons/validator/GenericTypeValidator.java:87
MethodformatDate
Formats a {@code String} to a {@code Date}. The {@code Validator} will interpret a {@code null} as validation having failed.
src/test/java/org/apache/commons/validator/ValidatorTest.java:64
MethodgetActionMap
Gets a Map of the validator actions in this Result. @return Map of validator actions. @deprecated Use getActions() to return the set of actions
src/main/java/org/apache/commons/validator/ValidatorResult.java:174
MethodgetAge
()
src/example/org/apache/commons/validator/example/ValidateBean.java:86
MethodgetBundle
Gets the resource bundle name. @return the bundle name. @since 1.1
src/main/java/org/apache/commons/validator/Arg.java:100
MethodgetBundle
Returns the resource bundle name. @return The bundle name. @since 1.1
src/main/java/org/apache/commons/validator/Msg.java:87
MethodgetByte
()
src/test/java/org/apache/commons/validator/TypeBean.java:33
MethodgetCity
()
src/example/org/apache/commons/validator/example/ValidateBean.java:74
MethodgetCreditCard
()
src/test/java/org/apache/commons/validator/TypeBean.java:37
MethodgetDate
()
src/test/java/org/apache/commons/validator/ValidatorTest.java:44
MethodgetDate
()
src/test/java/org/apache/commons/validator/TypeBean.java:41
MethodgetDependencyList
Returns the dependent validator names as an unmodifiable {@code List}. @return List of the validator action's dependents.
src/main/java/org/apache/commons/validator/ValidatorAction.java:251
MethodgetDepends
Gets the dependencies of the validator action as a comma separated list of validator names. @return The validator action's dependencies.
src/main/java/org/apache/commons/validator/ValidatorAction.java:260
MethodgetDouble
()
src/test/java/org/apache/commons/validator/TypeBean.java:45
MethodgetExtends
Gets the name/key of the parent set of validation rules. @return The extends value @since 1.2.0
src/main/java/org/apache/commons/validator/Form.java:107
MethodgetField
Returns the Field that was validated. @return The Field associated with this result.
src/main/java/org/apache/commons/validator/ValidatorResult.java:193
MethodgetFieldName
Gets the field name. @return the field name. @since 1.10.0
src/main/java/org/apache/commons/validator/Validator.java:265
MethodgetFieldOrder
Gets the position of the {@code Field} in the validation list. @return The field position.
src/main/java/org/apache/commons/validator/Field.java:395
MethodgetFirstName
()
src/example/org/apache/commons/validator/example/ValidateBean.java:62
MethodgetFirstName
()
src/test/java/org/apache/commons/validator/NameBean.java:30
MethodgetFloat
()
src/test/java/org/apache/commons/validator/TypeBean.java:49
MethodgetFormName
Gets the form name which is the key to a set of validation rules. @return the name of the form.
src/main/java/org/apache/commons/validator/Validator.java:274
MethodgetFormat
Returns a {@code Format} that parses to a {@code BigDecimal} so the exact value of the input is preserved. <p> The superclass leaves {@link DecimalFo
src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java:121
MethodgetFormat
Returns a {@code Format} that parses to a {@code BigDecimal} so the exact value of the input is preserved. <p> The superclass leaves {@link DecimalFo
src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java:139
MethodgetInstance
Returns the Singleton instance of this validator. @return singleton instance of this validator.
src/main/java/org/apache/commons/validator/routines/EmailValidator.java:83
MethodgetInteger
()
src/test/java/org/apache/commons/validator/TypeBean.java:53
MethodgetJavascript
Gets the JavaScript equivalent of the Java class and method associated with this action. @return The JavaScript validation.
src/main/java/org/apache/commons/validator/ValidatorAction.java:269
MethodgetJsFunctionName
Gets the JavaScript function name. This is optional and can be used instead of validator action name for the name of the JavaScript function/object.
src/main/java/org/apache/commons/validator/ValidatorAction.java:278
MethodgetLastName
()
src/example/org/apache/commons/validator/example/ValidateBean.java:58
MethodgetLastName
()
src/test/java/org/apache/commons/validator/NameBean.java:34
MethodgetLetter
()
src/test/java/org/apache/commons/validator/ValidatorTest.java:48
MethodgetLong
()
src/test/java/org/apache/commons/validator/TypeBean.java:57
MethodgetMessages
The {@code Field}'s messages are returned as an unmodifiable {@link Map}. @return Map of validation messages for the field. @since 1.1.4
src/main/java/org/apache/commons/validator/Field.java:501
MethodgetMethodParams
Gets the method parameters for the method. @return Method's parameters.
src/main/java/org/apache/commons/validator/ValidatorAction.java:310
MethodgetMiddleName
()
src/test/java/org/apache/commons/validator/NameBean.java:38
MethodgetModulus
Gets the modulus value this check digit routine is based on. @return The modulus value this check digit routine is based on.
src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java:124
MethodgetMsg
Retrieve a message value. @param key Validation key. @return A validation message for a specified validator.
src/main/java/org/apache/commons/validator/Field.java:511
MethodgetName
Gets the name of the dependency. @return the name of the dependency.
src/main/java/org/apache/commons/validator/Arg.java:118
MethodgetName
Gets the name of the validator action. @return Validator Action name.
src/main/java/org/apache/commons/validator/ValidatorAction.java:328
MethodgetName
Gets the name of the dependency. @return The dependency name.
src/main/java/org/apache/commons/validator/Msg.java:105
MethodgetOverrides
Gets a copy of an instance level internal array. @param table the array type (any of the enum values). @return a copy of the array. @throws IllegalAr
src/main/java/org/apache/commons/validator/routines/DomainValidator.java:2185
MethodgetPage
Gets the page. <p> This in conjunction with the page property of a {@code Field} can control the processing of fields. If the field's page is less th
src/main/java/org/apache/commons/validator/Validator.java:298
MethodgetParameters
Gets the parameter map. @return the parameter map. @since 1.10.0
src/main/java/org/apache/commons/validator/Validator.java:308
MethodgetPostalCode
()
src/example/org/apache/commons/validator/example/ValidateBean.java:82
MethodgetResources
Gets the validator resource. @return the validator resource. @since 1.10.0
src/main/java/org/apache/commons/validator/Validator.java:330
MethodgetShort
()
src/test/java/org/apache/commons/validator/TypeBean.java:61
MethodgetState
()
src/example/org/apache/commons/validator/example/ValidateBean.java:78
MethodgetStreet1
()
src/example/org/apache/commons/validator/example/ValidateBean.java:66
← previousnext →501–600 of 1,283, ranked by callers