Package | Description |
---|---|
org.apache.wicket.bean.validation |
This package integrates bean validation framework into Wicket.
|
org.apache.wicket.extensions.ajax.markup.html | |
org.apache.wicket.extensions.validation.validator | |
org.apache.wicket.markup.html.form |
HTML Forms and form components.
|
org.apache.wicket.validation |
This package provides interfaces for Wicket's
validation support.
|
org.apache.wicket.validation.validator |
This package provides an implementation of Wicket's
validation support.
|
Modifier and Type | Class and Description |
---|---|
class |
PropertyValidator<T>
Validator that delegates to the bean validation framework.
|
Modifier and Type | Method and Description |
---|---|
AjaxEditableLabel<T> |
AjaxEditableLabel.add(IValidator<T> validator)
Adds a validator to this form component.
|
Modifier and Type | Class and Description |
---|---|
class |
RfcCompliantEmailAddressValidator
Validator for validating email addresses according to the RFC 822.
|
Modifier and Type | Method and Description |
---|---|
List<IValidator<? super T>> |
FormComponent.getValidators()
Gets an unmodifiable list of validators for this FormComponent.
|
Modifier and Type | Method and Description |
---|---|
FormComponent<T> |
FormComponent.add(IValidator<? super T>... validators)
Adds a validator to this form component.
|
FormComponent<T> |
FormComponent.add(IValidator<? super T> validator)
Adds a validator to this form component
|
FormComponent<T> |
FormComponent.remove(IValidator<? super T> validator)
Removes a validator from the form component.
|
Constructor and Description |
---|
EmailTextField(String id,
IModel<String> model,
IValidator<String> emailValidator)
Construct.
|
EmailTextField(String id,
IValidator<String> emailValidator)
Construct.
|
Modifier and Type | Interface and Description |
---|---|
interface |
INullAcceptingValidator<T>
Marker interface for validators that will accept a
null value. |
Modifier and Type | Class and Description |
---|---|
class |
CompoundValidator<T>
A compound
IValidator . |
class |
ValidatorAdapter<T>
Adapts
IValidator to Behavior |
Modifier and Type | Method and Description |
---|---|
IValidator<T> |
ValidatorAdapter.getValidator()
Gets adapted validator
|
Modifier and Type | Method and Description |
---|---|
List<IValidator<T>> |
CompoundValidator.getValidators()
Gets an unmodifiable list of the registered validators.
|
Modifier and Type | Method and Description |
---|---|
CompoundValidator<T> |
CompoundValidator.add(IValidator<T> validator)
Adds an
IValidator to the chain of validators. |
ValidationError |
ValidationError.addKey(IValidator<?> validator)
Shortcut for adding a standard message key which is the simple name of the validator' class
|
ValidationError |
ValidationError.addKey(IValidator<?> validator,
String variation)
Shortcut for adding a standard message key variation which is the simple name of the
validator class followed by a dot and the variation
|
Constructor and Description |
---|
ValidationError(IValidator<?> validator)
Constructs a validation error with the validator's standard key.
|
ValidationError(IValidator<?> validator,
String variation)
Constructs a validation error with a variation of validator's standard key.
|
ValidatorAdapter(IValidator<T> validator)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRangeValidator<R extends Comparable<? super R> & Serializable,V extends Serializable>
Base class for validators that check if a given value falls within [min,max] range.
|
class |
CreditCardValidator
Checks if a credit card number is valid.
|
class |
DateValidator
Validator for checking if a given date falls within [min,max] range.
|
class |
EmailAddressValidator
Validator for checking the form/pattern of email addresses.
|
class |
PatternValidator
Validates an
IValidatable by matching the value against a regular expression pattern. |
class |
RangeValidator<Z extends Comparable<? super Z> & Serializable>
Validator for checking if a given value falls within [min,max] range.
|
class |
StringValidator
Validator for checking if length of a string falls within [min,max] range.
|
class |
UrlValidator
Validator for checking URLs.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.