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).
Method Summary |
(package private) static XMLReader | createParser() creates a SAX parser, using the value of org.xml.sax.parser
defaulting to org.apache.xerces.parsers.SAXParser |
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 |
void | printUsage(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 |
XalanCommandLine
public XalanCommandLine(String[] args)
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
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