@Deprecated
public final class Schematron
extends java.lang.Object
| Constructor and Description |
|---|
Schematron()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Deprecated.
Executes this task.
|
void |
setarchiveDirParameter(java.lang.String value)
Deprecated.
Pass the directory name of the current processed file as a xsl parameter
to the transformation.
|
void |
setArchiveNameParameter(java.lang.String value)
Deprecated.
Pass the filename of the current processed file as a xsl parameter
to the transformation.
|
void |
setCatalog(java.lang.String data)
Deprecated.
Specifies a semicolon separated list of catalog files
|
void |
setDebugMode(boolean debug)
Deprecated.
Specify whether preprocessor stylesheet are to be print into file for debugging.
|
void |
setFailOnError(boolean fail)
Deprecated.
Specify how parser error are to be handled.
|
void |
setFile(java.io.File file)
Deprecated.
Specify the file to be checked; optional.
|
void |
setFileDirParameter(java.lang.String value)
Deprecated.
Pass the directory name of the current processed file as a xsl parameter
to the transformation.
|
void |
setFileNameParameter(java.lang.String value)
Deprecated.
Pass the filename of the current processed file as a xsl parameter
to the transformation.
|
void |
setOutputDir(java.lang.String outputDir)
Deprecated.
Specify the path to the directory where the output file should be stored.
|
void |
setOutputEncoding(java.lang.String value)
Deprecated.
Set the encoding to be used.
|
void |
setOutputFilename(java.lang.String outputFilename)
Deprecated.
Specify the name of the file where the results will be stored.
|
void |
setQueryLanguageBinding(java.lang.String binding)
Deprecated.
Specify which binding to use "xslt1", "xslt2"
|
void |
setSchema(java.io.File file)
Deprecated.
Specify the file to be checked; optional.
|
public void setFailOnError(boolean fail)
true.
If set to true (default), throws a buildException if the parser yields an error.fail - if set to false do not fail on errorpublic void setQueryLanguageBinding(java.lang.String binding)
binding - public void setDebugMode(boolean debug)
Optional, default is false.
If set to true output preprocessing stylesheet into file debug.xslt
debug - if set to false do not output preprocessing stylesheet to file.public void setSchema(java.io.File file)
file - The file to checkpublic void setFile(java.io.File file)
file - The file to checkpublic void setOutputDir(java.lang.String outputDir)
outputDir - the path to the directory where the output file should be stored.public void setOutputFilename(java.lang.String outputFilename)
result.xml.outputFilename - the name of the file where the results will be stored.public void setCatalog(java.lang.String data)
public void setFileNameParameter(java.lang.String value)
value - fileNameParameter name of the xsl parameter retrieving the
current file namepublic void setFileDirParameter(java.lang.String value)
value - fileDirParameter name of the xsl parameter retrieving the
current file directorypublic void setArchiveNameParameter(java.lang.String value)
value - archiveNameParameter name of the xsl parameter retrieving the
current file namepublic void setarchiveDirParameter(java.lang.String value)
value - archiveDirParameter name of the xsl parameter retrieving the
current file directorypublic void setOutputEncoding(java.lang.String value)
public void execute()
throws SchematronException
BuildException - Should an error occurSchematronException