@NotThreadSafe public class SchematronResourceSCH extends AbstractSchematronXSLTBasedResource<SchematronResourceSCH>
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, setEntityResolver, setErrorListener, setParameters, setURIResolver, setXSLTValidator, toString
applySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getAsNode, getAsNode, getEntityResolver, getID, getResource, getSchematronValidity, getSchematronValidity, internalCreateDOMReaderSettings, internalSetEntityResolver, 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–2017 Philip Helger. All rights reserved.