public class AlwaysAcceptProfileValidator extends Object implements ProfileValidator
ProfileValidationStrategy| Constructor and Description |
|---|
AlwaysAcceptProfileValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(eu.dnetlib.enabling.tools.OpaqueResource resource)
true if accept, false reject.
|
boolean |
handle(eu.dnetlib.enabling.tools.OpaqueResource resource,
RegistrationPhase phase)
True if this validator will handle this profile, false otherwise.
|
public boolean accept(eu.dnetlib.enabling.tools.OpaqueResource resource)
accept in interface ProfileValidatorProfileValidator.accept(OpaqueResource)public boolean handle(eu.dnetlib.enabling.tools.OpaqueResource resource,
RegistrationPhase phase)
handle in interface ProfileValidatorProfileValidator.handle(OpaqueResource, RegistrationPhase)Copyright © 2017. All rights reserved.