@NotThreadSafe public class SchematronResourceSCH extends AbstractSchematronXSLTBasedResource<SchematronResourceSCH>
AbstractSchematronResource.NodeAndBaseURI
m_aCustomErrorListener, m_aCustomParameters, m_aCustomURIResolver
Constructor and Description |
---|
SchematronResourceSCH(com.helger.commons.io.resource.IReadableResource aSCHResource)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected SCHTransformerCustomizer |
createTransformerCustomizer() |
static SchematronResourceSCH |
fromClassPath(String sSCHPath)
Create a new Schematron resource.
|
static SchematronResourceSCH |
fromFile(File aSCHFile)
Create a new Schematron resource.
|
static SchematronResourceSCH |
fromFile(String sSCHPath)
Create a new Schematron resource.
|
String |
getLanguageCode() |
String |
getPhase() |
ISchematronXSLTBasedProvider |
getXSLTProvider() |
void |
setLanguageCode(String sLanguageCode) |
void |
setPhase(String sPhase) |
applySchematronValidation, applySchematronValidationToSVRL, getErrorListener, getParameters, getSchematronValidity, getURIResolver, getXSLTValidator, hasParameters, isValidSchematron, parameters, setEntityResolver, setErrorListener, setParameters, setURIResolver, setXSLTValidator, toString
applySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getAsNode, getAsNode, getEntityResolver, getID, getResource, getSchematronValidity, getSchematronValidity, internalCreateDOMReaderSettings, internalSetEntityResolver, isUseCache, setUseCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setAllowForeignElements
applySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getEntityResolver, getResource, getSchematronValidity, getSchematronValidity, isUseCache, setUseCache
public SchematronResourceSCH(@Nonnull com.helger.commons.io.resource.IReadableResource aSCHResource)
aSCHResource
- The Schematron resource. May not be null
.@Nonnull @OverrideOnDemand protected SCHTransformerCustomizer createTransformerCustomizer()
@Nullable public ISchematronXSLTBasedProvider getXSLTProvider()
getXSLTProvider
in class AbstractSchematronXSLTBasedResource<SchematronResourceSCH>
null
.@Nonnull public static SchematronResourceSCH fromClassPath(@Nonnull @Nonempty String sSCHPath)
sSCHPath
- The classpath relative path to the Schematron file. May neither be
null
nor empty.null
.@Nonnull public static SchematronResourceSCH fromFile(@Nonnull @Nonempty String sSCHPath)
sSCHPath
- The file system path to the Schematron file. May neither be
null
nor empty.null
.@Nonnull public static SchematronResourceSCH fromFile(@Nonnull File aSCHFile)
aSCHFile
- The Schematron file. May not be null
.null
.Copyright © 2014–2019 Philip Helger. All rights reserved.