com.jclark.xsl.sax
Class Driver

java.lang.Object
  extended by com.jclark.xsl.sax.Driver

public class Driver
extends java.lang.Object

A Command line driver program for XSLProcessor


Nested Class Summary
(package private) static class Driver.ErrorHandlerImpl
           
 
Constructor Summary
Driver()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Driver

public Driver()
Method Detail

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)