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.IOException
NotDocumentException
default 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.IOException
NotDocumentException
@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.IOException
NotDocumentException
ValidationReport 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.IOException
NotDocumentException
Copyright © 2025 CESSDA ERIC. All rights reserved.