org.springmodules.validation.bean.context
Interface ValidationContext
- All Known Implementing Classes:
- DefaultValidationContext, ExtendingValidationContext
public interface ValidationContext
Represents a context of validation. In every application there can be different validation contexts in which different
validation rules apply. This context represent those validation contexts. A validation contexts supports specific
validation context tokens. A context token are strings that bind validation rules to specific tokens.
- Author:
- Uri Boness
Method Summary |
boolean |
supportsTokens(String[] tokens)
Returns whether this validation context supports the given validation tokens. |
supportsTokens
boolean supportsTokens(String[] tokens)
- Returns whether this validation context supports the given validation tokens.
- Parameters:
tokens
- The given validation tokens.
- Returns:
true
if this context supports the given validation tokens, false
otherwise.
Copyright © 2009. All Rights Reserved.