@ThreadSafe public final class SchematronDebug extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
getIntermediateFinalXSLTFolder() |
static File |
getIntermediateMinifiedSCHFolder() |
static boolean |
isSaveIntermediateXSLTFiles() |
static boolean |
isShowCreatedSVRL() |
static boolean |
isShowCreatedXSLT() |
static boolean |
isShowPreprocessedSchematron() |
static boolean |
isShowResolvedSourceSchematron() |
static void |
setDebugMode(boolean bDebugMode)
Globally enable/disable debug mode
|
static void |
setIntermediateFinalXSLTFolder(File aIntermediateFinalXSLTFolder)
Set the folder to which the intermediate minified SCH files should be save
to.
|
static void |
setIntermediateMinifiedSCHFolder(File aIntermediateMinifiedSCHFolder)
Set the folder to which the intermediate minified SCH files should be save
to
|
static void |
setSaveIntermediateXSLTFiles(boolean bSaveIntermediateFiles)
Enable/disable the saving of intermediate XSLT files
|
static void |
setShowCreatedSVRL(boolean bShow)
Log the created SVRL results or not
|
static void |
setShowCreatedXSLT(boolean bShow)
Log the created XSLT files or not
|
static void |
setShowPreprocessedSchematron(boolean bShow)
Log the complete created preprocessed Schematron
|
static void |
setShowResolvedSourceSchematron(boolean bShow)
Log the created Schematron with the includes resolved
|
public static void setDebugMode(boolean bDebugMode)
bDebugMode - true to enable debug mode, false
otherwise.setSaveIntermediateXSLTFiles(boolean),
setShowCreatedXSLT(boolean),
setShowCreatedSVRL(boolean),
setShowResolvedSourceSchematron(boolean),
setShowPreprocessedSchematron(boolean)public static boolean isSaveIntermediateXSLTFiles()
true if the intermediate files during XSLT creation.
Applied only in XSTL based modes.public static void setSaveIntermediateXSLTFiles(boolean bSaveIntermediateFiles)
bSaveIntermediateFiles - true to save them, false to disable it.to trigger all debug options at once@Nonnull public static File getIntermediateMinifiedSCHFolder()
null. Only used in XSLT based modes if
isSaveIntermediateXSLTFiles() is true.public static void setIntermediateMinifiedSCHFolder(@Nonnull File aIntermediateMinifiedSCHFolder)
aIntermediateMinifiedSCHFolder - The folder to save to. May not be null.@Nonnull public static File getIntermediateFinalXSLTFolder()
null. Only used in XSLT based modes if
isSaveIntermediateXSLTFiles() is true.public static void setIntermediateFinalXSLTFolder(@Nonnull File aIntermediateFinalXSLTFolder)
aIntermediateFinalXSLTFolder - The folder to save to. May not be null.public static boolean isShowCreatedXSLT()
true if the created XSLT should be logged. Only
applied in XSLT based mode.public static void setShowCreatedXSLT(boolean bShow)
bShow - true to enable logging, false to disable
it.to trigger all debug options at oncepublic static boolean isShowCreatedSVRL()
true to log the created SVRL.public static void setShowCreatedSVRL(boolean bShow)
bShow - true to enable logging, false to disable
it.to trigger all debug options at oncepublic static boolean isShowResolvedSourceSchematron()
true to log the read, with includes resolved,
Schematron. This is only applied in pure mode.public static void setShowResolvedSourceSchematron(boolean bShow)
bShow - true to enable logging, false to disable
it.to trigger all debug options at oncepublic static boolean isShowPreprocessedSchematron()
true to log the created preprocessed Schematron. This
is only applied in pure mode.public static void setShowPreprocessedSchematron(boolean bShow)
bShow - true to enable logging, false to disable
it.to trigger all debug options at onceCopyright © 2014–2021 Philip Helger. All rights reserved.