public abstract class AbstractSchematronValidator extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSchematronValidator() |
| Modifier and Type | Method and Description |
|---|---|
com.helger.schematron.ISchematronResource |
createSchematronResource()
Create a new
ISchematronResource that is configured correctly so
that it can be used to validate TOOP messages. |
protected abstract com.helger.commons.io.resource.IReadableResource |
getSchematronXSLTResource() |
com.helger.commons.collection.impl.ICommonsList<com.helger.schematron.svrl.AbstractSVRLMessage> |
validateDocument(Document aXMLDoc)
Validate the provided DOM representation of a TOOP Request or Response.
|
com.helger.commons.collection.impl.ICommonsList<com.helger.schematron.svrl.AbstractSVRLMessage> |
validateResource(com.helger.commons.io.resource.IReadableResource aXML) |
@Nonnull protected abstract com.helger.commons.io.resource.IReadableResource getSchematronXSLTResource()
null.@Nonnull public final com.helger.schematron.ISchematronResource createSchematronResource()
ISchematronResource that is configured correctly so
that it can be used to validate TOOP messages. This method is only used
internally and is extracted to allow potential modifications in derived
classes.validateDocument(Document),
validateResource(IReadableResource)@Nonnull @ReturnsMutableCopy public final com.helger.commons.collection.impl.ICommonsList<com.helger.schematron.svrl.AbstractSVRLMessage> validateResource(@Nonnull com.helger.commons.io.resource.IReadableResource aXML)
@Nonnull @ReturnsMutableCopy public final com.helger.commons.collection.impl.ICommonsList<com.helger.schematron.svrl.AbstractSVRLMessage> validateDocument(@Nonnull Document aXMLDoc)
aXMLDoc - The XML DOM node to be validated. May not be null.Copyright © 2020 toop.eu. All rights reserved.