public void validate(StateAccess validationState, ValidationMessageAcceptor messageAcceptor) {
		if (isResponsible(validationState.getState().context, validationState.getState().currentObject)) {
			try {
				for (final MethodWrapper method : getMethods(validationState.getState().currentObject)) {
					final Context ctx = new Context(validationState, this, method, messageAcceptor);
					this.currentContext.set(ctx);
					initializeContext(ctx);
					method.invoke(ctx);
				}
			} finally {
				this.currentContext.set(null);
			}
		}
	}
public void validate ( StateAccess validationState , ValidationMessageAcceptor messageAcceptor ) { if ( isResponsible ( validationState . getState ( ) . context , validationState . getState ( ) . currentObject ) ) { try { for ( final MethodWrapper method : getMethods ( validationState . getState ( ) . currentObject ) ) { final Context ctx = new Context ( validationState , this , method , messageAcceptor ) ; this . currentContext . set ( ctx ) ; initializeContext ( ctx ) ; method . invoke ( ctx ) ; } } finally { this . currentContext . set ( null ) ; } } }
Validate the given resource.

@param validationState the current validation state.
@param messageAcceptor the message acceptor.