@NotThreadSafe public class SchematronResourceXSLT extends AbstractSchematronXSLTResource
| Constructor and Description |
|---|
SchematronResourceXSLT(com.helger.commons.io.IReadableResource aXSLTResource)
Constructor
|
SchematronResourceXSLT(com.helger.commons.io.IReadableResource aXSLTResource,
ErrorListener aCustomErrorListener,
URIResolver aCustomURIResolver)
Constructor
|
SchematronResourceXSLT(com.helger.commons.io.IReadableResource aXSLTResource,
ErrorListener aCustomErrorListener,
URIResolver aCustomURIResolver,
ISchematronXSLTValidator aValidator)
Constructor
|
SchematronResourceXSLT(com.helger.commons.io.IReadableResource aXSLTResource,
ISchematronXSLTValidator aValidator)
Constructor
|
applySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getCustomErrorListener, getCustomURIResolver, getSchematronValidity, getSchematronValidity, getXSLTProvider, getXSLTValidator, isValidSchematron, toStringgetID, getResourcepublic SchematronResourceXSLT(@Nonnull com.helger.commons.io.IReadableResource aXSLTResource)
aXSLTResource - The XSLT resource. May not be null.public SchematronResourceXSLT(@Nonnull com.helger.commons.io.IReadableResource aXSLTResource, @Nonnull ISchematronXSLTValidator aValidator)
aXSLTResource - The XSLT resource. May not be null.aValidator - The validator to be used to determine whether a Schematron
validation was successful or not. May not be null.public SchematronResourceXSLT(@Nonnull com.helger.commons.io.IReadableResource aXSLTResource, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
aXSLTResource - The XSLT resource. May not be null.aCustomErrorListener - An optional custom XSLT error listener that is used when applying
the XSLT resource to an XML document. May be null.aCustomURIResolver - An optional custom XSLT URI resolver that is used when applying the
XSLT resource to an XML document. May be null.public SchematronResourceXSLT(@Nonnull com.helger.commons.io.IReadableResource aXSLTResource, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver, @Nonnull ISchematronXSLTValidator aValidator)
aXSLTResource - The XSLT resource. May not be null.aCustomErrorListener - An optional custom XSLT error listener that is used when applying
the XSLT resource to an XML document. May be null.aCustomURIResolver - An optional custom XSLT URI resolver that is used when applying the
XSLT resource to an XML document. May be null.aValidator - The validator to be used to determine whether a Schematron
validation was successful or not. May not be null.@Nonnull public static SchematronResourceXSLT fromClassPath(@Nonnull@Nonempty String sXSLTPath)
@Nonnull public static SchematronResourceXSLT fromClassPath(@Nonnull@Nonempty String sXSLTPath, @Nonnull ISchematronXSLTValidator aValidator)
@Nonnull public static SchematronResourceXSLT fromClassPath(@Nonnull@Nonempty String sXSLTPath, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
@Nonnull public static SchematronResourceXSLT fromClassPath(@Nonnull@Nonempty String sXSLTPath, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver, @Nonnull ISchematronXSLTValidator aValidator)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull@Nonempty String sXSLTPath)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull@Nonempty String sXSLTPath, @Nonnull ISchematronXSLTValidator aValidator)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull@Nonempty String sXSLTPath, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull@Nonempty String sXSLTPath, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver, @Nonnull ISchematronXSLTValidator aValidator)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull File aXSLTFile)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull File aXSLTFile, @Nonnull ISchematronXSLTValidator aValidator)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull File aXSLTFile, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull File aXSLTFile, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver, @Nonnull ISchematronXSLTValidator aValidator)
Copyright © 2014–2015 Philip Helger. All rights reserved.