Class DefaultValidatorProvider

java.lang.Object
org.apache.wicket.bean.validation.DefaultValidatorProvider
All Implemented Interfaces:
Supplier<jakarta.validation.Validator>

public class DefaultValidatorProvider extends Object implements Supplier<jakarta.validation.Validator>
This is the default validator provider. It creates a validator instance with the default message interpolator wrapped inside a SessionLocaleInterpolator so it is aware of Wicket's locale. Only one instance of the Validator is created.
Author:
igor
  • Constructor Details

  • Method Details

    • get

      public jakarta.validation.Validator get()
      Specified by:
      get in interface Supplier<jakarta.validation.Validator>