eu.peppol.validation.commons.schematron.xslt
Class SchematronResourceSCHCache
java.lang.Object
eu.peppol.validation.commons.schematron.xslt.SchematronResourceSCHCache
public final class SchematronResourceSCHCache
- extends Object
Factory for creating ISchematronXSLTProvider
objects.
- Author:
- PEPPOL.AT, BRZ, Philip Helger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createSchematronXSLTProvider
@Nullable
public static ISchematronXSLTProvider createSchematronXSLTProvider(@Nonnull
com.phloc.commons.io.IReadableResource aSchematronResource,
@Nullable
ErrorListener aCustomErrorListener,
@Nullable
URIResolver aCustomURIResolver)
getSchematronXSLTProvider
@Nullable
public static ISchematronXSLTProvider getSchematronXSLTProvider(@Nonnull
com.phloc.commons.io.IReadableResource aSchematronResource,
@Nullable
ErrorListener aCustomErrorListener,
@Nullable
URIResolver aCustomURIResolver)
- Create a new Schematron validator for the passed resource.
- Parameters:
aSchematronResource
- The resource of the Schematron rules. May not be null
.aCustomErrorListener
- An optional custom XSLT error listener that is used when converting
the Schematron resource to an XSLT document. May be
null
.aCustomURIResolver
- An optional custom XSLT URI resolver that is used when converting
the Schematron resource to an XSLT document. May be
null
.
- Returns:
null
if the passed Schematron resource does not exist.
Copyright © 2011 PEPPOL project. All Rights Reserved.