## Uses of Interface
com.opensymphony.xwork2.validator.ValidatorContext

- Packages that use ValidatorContext
  Package | Description
  --- | ---
  com.opensymphony.xwork2.validator | XWork validation subsystem.
  com.opensymphony.xwork2.validator.validators | XWork default validator classes.
  org.apache.struts2.components |

- - ### Uses of ValidatorContext in com.opensymphony.xwork2.validator

    Classes in com.opensymphony.xwork2.validator that implement ValidatorContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DelegatingValidatorContext` A default implementation of the `ValidatorContext` interface.

    Methods in com.opensymphony.xwork2.validator that return ValidatorContext
    Modifier and Type | Method and Description
    --- | ---
    `ValidatorContext` | Validator.`getValidatorContext()` Gets the validation context used

    Methods in com.opensymphony.xwork2.validator with parameters of type ValidatorContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | Validator.`setValidatorContext(ValidatorContext validatorContext)` This method will be called before validate with a non-null ValidatorContext.
    `void` | DefaultActionValidatorManager.`validate(Object object, String context, ValidatorContext validatorContext)`
    `void` | ActionValidatorManager.`validate(Object object, String context, ValidatorContext validatorContext)` Validates an action give its context and a validation context.
    `void` | DefaultActionValidatorManager.`validate(Object object, String context, ValidatorContext validatorContext, String method)`
    `void` | ActionValidatorManager.`validate(Object object, String context, ValidatorContext validatorContext, String method)` Validates an action give its context and a validation context.

  - ### Uses of ValidatorContext in com.opensymphony.xwork2.validator.validators

    Classes in com.opensymphony.xwork2.validator.validators that implement ValidatorContext
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `VisitorFieldValidator.AppendingValidatorContext`

    Methods in com.opensymphony.xwork2.validator.validators that return ValidatorContext
    Modifier and Type | Method and Description
    --- | ---
    `ValidatorContext` | ValidatorSupport.`getValidatorContext()`

    Methods in com.opensymphony.xwork2.validator.validators with parameters of type ValidatorContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ValidatorSupport.`setValidatorContext(ValidatorContext validatorContext)`

    Constructors in com.opensymphony.xwork2.validator.validators with parameters of type ValidatorContext
    Constructor and Description
    `AppendingValidatorContext(ValidatorContext parent, TextProvider textProvider, String field, String message)`

  - ### Uses of ValidatorContext in org.apache.struts2.components

    Methods in org.apache.struts2.components that return ValidatorContext
    Modifier and Type | Method and Description
    --- | ---
    `ValidatorContext` | Form.FieldVisitorValidatorWrapper.`getValidatorContext()`

    Methods in org.apache.struts2.components with parameters of type ValidatorContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | Form.FieldVisitorValidatorWrapper.`setValidatorContext(ValidatorContext validatorContext)`

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