org.apache.fop.apps
Class XalanCommandLine

java.lang.Object
  |
  +--org.apache.fop.apps.XalanCommandLine

public class XalanCommandLine
extends java.lang.Object

mainline class. Gets input and output filenames from the command line. Creates a SAX Parser (defaulting to Xerces).


Constructor Summary
XalanCommandLine(java.lang.String[] args)
           
 
Method Summary
protected static org.xml.sax.InputSource fileInputSource(java.lang.String filename)
          create an InputSource from a file name
static void main(java.lang.String[] args)
          mainline method first command line argument is xml input file second command line argument is xslt file third command line argument is the target pdf file
 void printUsage(java.lang.String arg)
           
 void run()
          mainline method first command line argument is xml input file second command line argument is xslt file which commands the conversion from xml to xsl:fo third command line argument is the output file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XalanCommandLine

public XalanCommandLine(java.lang.String[] args)
Method Detail

printUsage

public void printUsage(java.lang.String arg)

fileInputSource

protected static org.xml.sax.InputSource fileInputSource(java.lang.String filename)
create an InputSource from a file name
Parameters:
filename - the name of the file
Returns:
the InputSource created

run

public void run()
mainline method first command line argument is xml input file second command line argument is xslt file which commands the conversion from xml to xsl:fo third command line argument is the output file
Parameters:
command - line arguments

main

public static void main(java.lang.String[] args)
mainline method first command line argument is xml input file second command line argument is xslt file third command line argument is the target pdf file
Parameters:
command - line arguments


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.