@NotThreadSafe public class SchematronResourceXSLT extends AbstractSchematronXSLTBasedResource<SchematronResourceXSLT>
AbstractSchematronResource.NodeAndBaseURIm_aCustomErrorListener, m_aCustomParameters, m_aCustomURIResolverDEFAULT_USE_CACHE| Constructor and Description |
|---|
SchematronResourceXSLT(com.helger.commons.io.resource.IReadableResource aXSLTResource)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static SchematronResourceXSLT |
fromByteArray(byte[] aSchematron)
Create a new
SchematronResourceXSLT from XSLT Schematron rules provided
by an arbitrary byte array. |
static SchematronResourceXSLT |
fromClassPath(String sXSLTPath) |
static SchematronResourceXSLT |
fromFile(File aXSLTFile) |
static SchematronResourceXSLT |
fromFile(String sXSLTPath) |
static SchematronResourceXSLT |
fromInputStream(InputStream aSchematronIS)
Create a new
SchematronResourceXSLT from XSLT Schematron rules provided
by an arbitrary InputStream. |
static SchematronResourceXSLT |
fromString(String sSchematron,
Charset aCharset)
Create a new
SchematronResourceXSLT from XSLT Schematron rules provided
by an arbitrary String. |
static SchematronResourceXSLT |
fromURL(String sSCHURL)
Create a new
SchematronResourceXSLT from XSLT Schematron rules provided
at a URL |
static SchematronResourceXSLT |
fromURL(URL aSCHURL)
Create a new
SchematronResourceXSLT from XSLT Schematron rules provided
at a URL |
ISchematronXSLTBasedProvider |
getXSLTProvider() |
applySchematronValidation, applySchematronValidationToSVRL, getErrorListener, getSchematronValidity, getURIResolver, getXSLTValidator, isValidSchematron, parameters, setEntityResolver, setErrorListener, setURIResolver, setXSLTValidator, toStringapplySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getAsNode, getAsNode, getEntityResolver, getID, getResource, getSchematronValidity, getSchematronValidity, internalCreateDOMReaderSettings, internalSetEntityResolver, isLenient, isUseCache, setLenient, setUseCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetAllowForeignElementsapplySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getEntityResolver, getResource, getSchematronValidity, getSchematronValidity, isLenient, isUseCache, setLenient, setUseCachepublic SchematronResourceXSLT(@Nonnull com.helger.commons.io.resource.IReadableResource aXSLTResource)
aXSLTResource - The XSLT resource. May not be null.@Nullable public ISchematronXSLTBasedProvider getXSLTProvider()
getXSLTProvider in class AbstractSchematronXSLTBasedResource<SchematronResourceXSLT>null.@Nonnull public static SchematronResourceXSLT fromClassPath(@Nonnull @Nonempty String sXSLTPath)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull @Nonempty String sXSLTPath)
@Nonnull public static SchematronResourceXSLT fromFile(@Nonnull File aXSLTFile)
@Nonnull public static SchematronResourceXSLT fromURL(@Nonnull @Nonempty String sSCHURL) throws MalformedURLException
SchematronResourceXSLT from XSLT Schematron rules provided
at a URLsSCHURL - The URL to the XSLT Schematron rules. May neither be null
nor empty.null.MalformedURLException - In case an invalid URL is provided@Nonnull public static SchematronResourceXSLT fromURL(@Nonnull URL aSCHURL)
SchematronResourceXSLT from XSLT Schematron rules provided
at a URLaSCHURL - The URL to the XSLT Schematron rules. May not be null.null.@Nonnull public static SchematronResourceXSLT fromInputStream(@Nonnull InputStream aSchematronIS)
SchematronResourceXSLT from XSLT Schematron rules provided
by an arbitrary InputStream.aSchematronIS - The InputStream to read the XSLT Schematron rules from. May not
be null.null.@Nonnull public static SchematronResourceXSLT fromByteArray(@Nonnull byte[] aSchematron)
SchematronResourceXSLT from XSLT Schematron rules provided
by an arbitrary byte array.aSchematron - The byte array representing the XSLT Schematron. May not be
null.null.@Nonnull public static SchematronResourceXSLT fromString(@Nonnull String sSchematron, @Nonnull Charset aCharset)
SchematronResourceXSLT from XSLT Schematron rules provided
by an arbitrary String.sSchematron - The String representing the XSLT Schematron. May not be null
.aCharset - The charset to be used to convert the String to a byte array.null.Copyright © 2014–2020 Philip Helger. All rights reserved.