com.jclark.xsl.sax
Class Driver
java.lang.Object
com.jclark.xsl.sax.Driver
- public class Driver
- extends java.lang.Object
A Command line driver program for XSLProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Driver
public Driver()
main
public static void main(java.lang.String[] args)
transformFile
static boolean transformFile(XSLProcessor xsl,
OutputMethodHandlerImpl outputMethodHandler,
java.io.File inputFile,
java.io.File stylesheetFile,
java.io.File outputFile)
transform
static boolean transform(XSLProcessor xsl,
org.xml.sax.InputSource stylesheetSource,
org.xml.sax.InputSource inputSource)
printSAXParseException
static void printSAXParseException(org.xml.sax.SAXParseException e)
setParser
static void setParser(XSLProcessorImpl xsl)
fileInputSource
public static org.xml.sax.InputSource fileInputSource(java.lang.String str)
- Generates an
InputSource
from a file name.
fileInputSource
public static org.xml.sax.InputSource fileInputSource(java.io.File file)