public class SchematronCompiler extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static String |
FLAVOUR_ORIGINAL |
static String |
FLAVOUR_PEPPOL |
| Constructor and Description |
|---|
SchematronCompiler() |
SchematronCompiler(net.sf.saxon.s9api.Processor processor) |
SchematronCompiler(net.sf.saxon.s9api.Processor processor,
String flavour) |
SchematronCompiler(String flavour) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
compile(File inputFile,
net.sf.saxon.s9api.Destination destination) |
void |
compile(File inputFile,
File outputFile) |
void |
compile(File inputFile,
OutputStream outputStream) |
void |
compile(Path inputFile,
OutputStream outputStream) |
void |
compile(Path inputFile,
Path outputFile) |
SchematronValidator |
createValidator(File inputFile) |
public static final String FLAVOUR_ORIGINAL
public static final String FLAVOUR_PEPPOL
public SchematronCompiler()
throws SchematronException
SchematronExceptionpublic SchematronCompiler(net.sf.saxon.s9api.Processor processor)
throws SchematronException
SchematronExceptionpublic SchematronCompiler(String flavour) throws SchematronException
SchematronExceptionpublic SchematronCompiler(net.sf.saxon.s9api.Processor processor,
String flavour)
throws SchematronException
SchematronExceptionpublic void compile(File inputFile, File outputFile) throws SchematronException, IOException
SchematronExceptionIOExceptionpublic void compile(Path inputFile, Path outputFile) throws SchematronException, IOException
SchematronExceptionIOExceptionpublic void compile(Path inputFile, OutputStream outputStream) throws SchematronException
SchematronExceptionpublic void compile(File inputFile, OutputStream outputStream) throws SchematronException
SchematronExceptionpublic SchematronValidator createValidator(File inputFile) throws SchematronException
SchematronExceptionpublic void compile(File inputFile, net.sf.saxon.s9api.Destination destination) throws SchematronException
SchematronExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023 NorStella. All rights reserved.