public interface ISchematronXSLTBasedResource extends ISchematronResource
Modifier and Type | Method and Description |
---|---|
ErrorListener |
getErrorListener() |
URIResolver |
getURIResolver() |
ISchematronXSLTValidator |
getXSLTValidator() |
com.helger.commons.collection.impl.ICommonsOrderedMap<String,Object> |
parameters() |
default void |
setAllowForeignElements(boolean bAllow)
Enable or disable the warning on contained elements from a different
namespace.
|
ISchematronXSLTBasedResource |
setEntityResolver(EntityResolver aEntityResolver)
Set the XML entity resolver to be used when reading the Schematron or the
XML to be validated.
|
ISchematronXSLTBasedResource |
setErrorListener(ErrorListener aCustomErrorListener) |
ISchematronXSLTBasedResource |
setURIResolver(URIResolver aCustomURIResolver)
Set the
URIResolver to be used for reading Schematron. |
ISchematronXSLTBasedResource |
setXSLTValidator(ISchematronXSLTValidator aXSLTValidator)
Set the XSLT validator to be used.
|
applySchematronValidation, applySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getEntityResolver, getResource, getSchematronValidity, getSchematronValidity, getSchematronValidity, isUseCache, isValidSchematron, setUseCache
@Nullable ErrorListener getErrorListener()
null
.@Nonnull ISchematronXSLTBasedResource setErrorListener(@Nullable ErrorListener aCustomErrorListener)
aCustomErrorListener
- Error listener to use.@Nullable URIResolver getURIResolver()
URIResolver
to be used for reading the Schematron. May
be null
.@Nonnull ISchematronXSLTBasedResource setURIResolver(@Nullable URIResolver aCustomURIResolver)
URIResolver
to be used for reading Schematron.aCustomURIResolver
- The URIResolver
to use. May be null
,@Nonnull @ReturnsMutableObject com.helger.commons.collection.impl.ICommonsOrderedMap<String,Object> parameters()
null
.default void setAllowForeignElements(boolean bAllow)
parameters ().put ("allow-foreign", bAllow ? "true" : "false");
bAllow
- true
to allow foreign elements, false
to
disallow them.@Nonnull ISchematronXSLTBasedResource setEntityResolver(@Nullable EntityResolver aEntityResolver)
aEntityResolver
- The entity resolver to set. May be null
.@Nonnull ISchematronXSLTValidator getXSLTValidator()
null
.@Nonnull ISchematronXSLTBasedResource setXSLTValidator(@Nonnull ISchematronXSLTValidator aXSLTValidator)
aXSLTValidator
- Validator instance to use. May not be null
.Copyright © 2014–2019 Philip Helger. All rights reserved.