|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.schematron.Schematron
@Deprecated public final class Schematron
An Ant task that allows user to validate a fileset of XML files with a Schematron schema. Functional specifications The schematron ant task should process the file(s) specified by the user either directly or using
Constructor Summary | |
---|---|
Schematron()
Deprecated. |
Method Summary | |
---|---|
void |
execute()
Deprecated. Executes this task. |
void |
setarchiveDirParameter(String value)
Deprecated. Pass the directory name of the current processed file as a xsl parameter to the transformation. |
void |
setArchiveNameParameter(String value)
Deprecated. Pass the filename of the current processed file as a xsl parameter to the transformation. |
void |
setCatalog(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(File file)
Deprecated. Specify the file to be checked; optional. |
void |
setFileDirParameter(String value)
Deprecated. Pass the directory name of the current processed file as a xsl parameter to the transformation. |
void |
setFileNameParameter(String value)
Deprecated. Pass the filename of the current processed file as a xsl parameter to the transformation. |
void |
setOutputDir(String outputDir)
Deprecated. Specify the path to the directory where the output file should be stored. |
void |
setOutputEncoding(String value)
Deprecated. Set the encoding to be used. |
void |
setOutputFilename(String outputFilename)
Deprecated. Specify the name of the file where the results will be stored. |
void |
setQueryLanguageBinding(String binding)
Deprecated. Specify which binding to use "xslt1", "xslt2" |
void |
setSchema(File file)
Deprecated. Specify the file to be checked; optional. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Schematron()
Method Detail |
---|
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(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(File file)
file
- The file to checkpublic void setFile(File file)
file
- The file to checkpublic void setOutputDir(String outputDir)
outputDir
- the path to the directory where the output file should be stored.public void setOutputFilename(String outputFilename)
result.xml
.
outputFilename
- the name of the file where the results will be stored.public void setCatalog(String data)
public void setFileNameParameter(String value)
value
- fileNameParameter name of the xsl parameter retrieving the
current file namepublic void setFileDirParameter(String value)
value
- fileDirParameter name of the xsl parameter retrieving the
current file directorypublic void setArchiveNameParameter(String value)
value
- archiveNameParameter name of the xsl parameter retrieving the
current file namepublic void setarchiveDirParameter(String value)
value
- archiveDirParameter name of the xsl parameter retrieving the
current file directorypublic void setOutputEncoding(String value)
public void execute() throws SchematronException
BuildException
- Should an error occur
SchematronException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |