com.jclark.xsl.sax

Class Driver


public class Driver
extends java.lang.Object

A Command line driver program for XSLProcessor

Nested Class Summary

(package private) static class
Driver.ErrorHandlerImpl

Method Summary

static InputSource
fileInputSource(File file)
static InputSource
fileInputSource(String str)
Generates an InputSource from a file name.
static void
main(String[] args)
(package private) static void
printSAXParseException(SAXParseException e)
(package private) static void
setParser(XSLProcessorImpl xsl)
(package private) static boolean
transform(XSLProcessor xsl, InputSource stylesheetSource, InputSource inputSource)
(package private) static boolean
transformFile(XSLProcessor xsl, OutputMethodHandlerImpl outputMethodHandler, File inputFile, File stylesheetFile, File outputFile)

Method Details

fileInputSource

public static InputSource fileInputSource(File file)

fileInputSource

public static InputSource fileInputSource(String str)
Generates an InputSource from a file name.

main

public static void main(String[] args)

printSAXParseException

(package private) static void printSAXParseException(SAXParseException e)

setParser

(package private) static void setParser(XSLProcessorImpl xsl)

transform

(package private) static boolean transform(XSLProcessor xsl,
                                           InputSource stylesheetSource,
                                           InputSource inputSource)

transformFile

(package private) static boolean transformFile(XSLProcessor xsl,
                                               OutputMethodHandlerImpl outputMethodHandler,
                                               File inputFile,
                                               File stylesheetFile,
                                               File outputFile)