org.apache.fop.apps
Class XalanCommandLine


public class XalanCommandLine

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


Constructor Summary
XalanCommandLine(String[] args)
           

Method Summary
 (package private) static XMLReadercreateParser()
          creates a SAX parser, using the value of org.xml.sax.parser defaulting to org.apache.xerces.parsers.SAXParser
 static voidmain(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
 voidprintUsage(String arg)
           
 voidrun()
          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

Constructor Detail

XalanCommandLine

public XalanCommandLine(String[] args)
Method Detail

createParser

static XMLReader createParser()
creates a SAX parser, using the value of org.xml.sax.parser defaulting to org.apache.xerces.parsers.SAXParser
Returns: the created SAX parser

main

public static void main(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

printUsage

public void printUsage(String arg)

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

Association Links

to Class java.lang.String

to Class java.lang.String

to Class java.lang.String

to Class java.lang.String

to Class java.lang.String