Package network.oxalis.peppol.schematron
Class SchematronCompiler
- java.lang.Object
-
- network.oxalis.peppol.schematron.SchematronCompiler
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class SchematronCompiler extends Object implements Closeable
-
-
Field Summary
Fields Modifier and Type Field Description static StringFLAVOUR_ORIGINALstatic StringFLAVOUR_PEPPOL
-
Constructor Summary
Constructors Constructor Description SchematronCompiler()SchematronCompiler(String flavour)SchematronCompiler(net.sf.saxon.s9api.Processor processor)SchematronCompiler(net.sf.saxon.s9api.Processor processor, String flavour)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcompile(File inputFile, File outputFile)voidcompile(File inputFile, OutputStream outputStream)voidcompile(File inputFile, net.sf.saxon.s9api.Destination destination)voidcompile(Path inputFile, OutputStream outputStream)voidcompile(Path inputFile, Path outputFile)SchematronValidatorcreateValidator(File inputFile)
-
-
-
Field Detail
-
FLAVOUR_ORIGINAL
public static final String FLAVOUR_ORIGINAL
- See Also:
- Constant Field Values
-
FLAVOUR_PEPPOL
public static final String FLAVOUR_PEPPOL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SchematronCompiler
public SchematronCompiler() throws SchematronException- Throws:
SchematronException
-
SchematronCompiler
public SchematronCompiler(net.sf.saxon.s9api.Processor processor) throws SchematronException- Throws:
SchematronException
-
SchematronCompiler
public SchematronCompiler(String flavour) throws SchematronException
- Throws:
SchematronException
-
SchematronCompiler
public SchematronCompiler(net.sf.saxon.s9api.Processor processor, String flavour) throws SchematronException- Throws:
SchematronException
-
-
Method Detail
-
compile
public void compile(File inputFile, File outputFile) throws SchematronException, IOException
- Throws:
SchematronExceptionIOException
-
compile
public void compile(Path inputFile, Path outputFile) throws SchematronException, IOException
- Throws:
SchematronExceptionIOException
-
compile
public void compile(Path inputFile, OutputStream outputStream) throws SchematronException
- Throws:
SchematronException
-
compile
public void compile(File inputFile, OutputStream outputStream) throws SchematronException
- Throws:
SchematronException
-
createValidator
public SchematronValidator createValidator(File inputFile) throws SchematronException
- Throws:
SchematronException
-
compile
public void compile(File inputFile, net.sf.saxon.s9api.Destination destination) throws SchematronException
- Throws:
SchematronException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-