org.springmodules.validation.bean.context
Class ExtendingValidationContext
java.lang.Object
org.springmodules.validation.bean.context.DefaultValidationContext
org.springmodules.validation.bean.context.ExtendingValidationContext
- All Implemented Interfaces:
- ValidationContext
public class ExtendingValidationContext
- extends DefaultValidationContext
- Author:
- Uri Boness
Method Summary |
boolean |
supportsTokens(String[] tokens)
Returns whether this validation context supports the given validation tokens. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendingValidationContext
public ExtendingValidationContext(String token,
ValidationContext extendedContext)
ExtendingValidationContext
public ExtendingValidationContext(String[] tokens,
ValidationContext extendedContext)
supportsTokens
public boolean supportsTokens(String[] tokens)
- Description copied from interface:
ValidationContext
- Returns whether this validation context supports the given validation tokens.
- Specified by:
supportsTokens
in interface ValidationContext
- Overrides:
supportsTokens
in class DefaultValidationContext
- Parameters:
tokens
- The given validation tokens.
- Returns:
true
if this context supports the given validation tokens, false
otherwise.- See Also:
ValidationContext.supportsTokens(String[])
Copyright © 2009. All Rights Reserved.