public class Driver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Driver.ErrorHandlerImpl |
Constructor and Description |
---|
Driver() |
Modifier and Type | Method and Description |
---|---|
static org.xml.sax.InputSource |
fileInputSource(java.io.File file) |
static org.xml.sax.InputSource |
fileInputSource(java.lang.String str)
Generates an
InputSource from a file name. |
static void |
main(java.lang.String[] args) |
(package private) static void |
printSAXParseException(org.xml.sax.SAXParseException e) |
(package private) static void |
setParser(XSLProcessorImpl xsl) |
(package private) static boolean |
transform(XSLProcessor xsl,
org.xml.sax.InputSource stylesheetSource,
org.xml.sax.InputSource inputSource) |
(package private) static boolean |
transformFile(XSLProcessor xsl,
OutputMethodHandlerImpl outputMethodHandler,
java.io.File inputFile,
java.io.File stylesheetFile,
java.io.File outputFile) |
public static void main(java.lang.String[] args)
static boolean transformFile(XSLProcessor xsl, OutputMethodHandlerImpl outputMethodHandler, java.io.File inputFile, java.io.File stylesheetFile, java.io.File outputFile)
static boolean transform(XSLProcessor xsl, org.xml.sax.InputSource stylesheetSource, org.xml.sax.InputSource inputSource)
static void printSAXParseException(org.xml.sax.SAXParseException e)
static void setParser(XSLProcessorImpl xsl)
public static org.xml.sax.InputSource fileInputSource(java.lang.String str)
InputSource
from a file name.public static org.xml.sax.InputSource fileInputSource(java.io.File file)