org.apache.struts.beanvalidation.constraints.impl

## Class FieldMatchValidator

- java.lang.Object
- - org.apache.struts.beanvalidation.constraints.impl.FieldMatchValidator

- All Implemented Interfaces:
    javax.validation.ConstraintValidator<FieldMatch,Object>

      public class FieldMatchValidator
      extends Object
      implements javax.validation.ConstraintValidator<FieldMatch,Object>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FieldMatchValidator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initialize(FieldMatch constraintAnnotation)`
    `boolean` | `isValid(Object value, javax.validation.ConstraintValidatorContext context)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FieldMatchValidator

          public FieldMatchValidator()

  - ### Method Detail

    - #### initialize

          public void initialize(FieldMatch constraintAnnotation)

      Specified by:
        `initialize` in interface `javax.validation.ConstraintValidator<FieldMatch,Object>`

    - #### isValid

          public boolean isValid(Object value,
                                 javax.validation.ConstraintValidatorContext context)

      Specified by:
        `isValid` in interface `javax.validation.ConstraintValidator<FieldMatch,Object>`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.