public interface ValidationService
| Modifier and Type | Method and Description |
|---|---|
ValidationReport |
validate(Document document,
Profile profile,
ValidationGate validationGate)
Validates the document against the given profile using the specified validation gate.
|
default ValidationReport |
validate(Document document,
Profile profile,
ValidationGateName validationGateName)
Validates the document against the given profile using the specified validation gate.
|
ValidationReport |
validate(URI documentUri,
URI profileUri,
ValidationGate validationGate)
Deprecated.
use
validate(Document, Profile, ValidationGate) instead. |
default ValidationReport |
validate(URI documentUri,
URI profileUri,
ValidationGateName validationGateName)
Deprecated.
use
validate(Document, Profile, ValidationGate) instead. |
@Deprecated default ValidationReport validate(URI documentUri, URI profileUri, ValidationGateName validationGateName) throws IOException, NotDocumentException
validate(Document, Profile, ValidationGate) instead.documentUri - the URI of the document to validate.profileUri - the URI of the profile to validate the document against.validationGateName - the validation gate to use.IOExceptionNotDocumentExceptiondefault ValidationReport validate(Document document, Profile profile, ValidationGateName validationGateName) throws IOException, NotDocumentException
document - the document to validate.profile - the profile to validate the document against.validationGateName - the validation gate to use.IOExceptionNotDocumentException@Deprecated ValidationReport validate(URI documentUri, URI profileUri, ValidationGate validationGate) throws IOException, NotDocumentException
validate(Document, Profile, ValidationGate) instead.documentUri - the URI of the document to validate.profileUri - the URI of the profile to validate the document against.validationGate - the validation gate to use.IOExceptionNotDocumentExceptionValidationReport validate(Document document, Profile profile, ValidationGate validationGate) throws IOException, NotDocumentException
document - the document to validate.profile - the profile to validate the document against.validationGate - the validation gate to use.IOExceptionNotDocumentExceptionCopyright © 2025 CESSDA ERIC. All rights reserved.