public class SchematronValidator extends Object implements Validator<Source,SchematronProfile>
SchematronTransmogrifier
. The
result is scanned for svrl:failed-assert
elements, and
error text and details (if available) are put into the ValidationException
's message.
The Validator accepts a Source
as input, and a SchematronProfile
as validation profile parameter.
Constructor and Description |
---|
SchematronValidator() |
public void validate(Source message, SchematronProfile profile)
validate
in interface Validator<Source,SchematronProfile>
message
- message to be validatedprofile
- profile to be validated againstCopyright © 2018 Open eHealth Foundation. All rights reserved.