public class Compile
extends java.lang.Object
| Constructor | Description |
|---|---|
Compile() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
badUsage(java.lang.String message) |
Output error message when incorrect command line options/arguments are used
|
protected void |
doMain(java.lang.String[] args) |
Support method for main program.
|
static void |
main(java.lang.String[] args) |
Main program, can be used directly from the command line.
|
protected static void |
quit(java.lang.String message,
int code) |
Exit with a message
|
public static void main(java.lang.String[] args)
throws java.lang.Exception
The format is:
java net.sf.saxon.Compile [options] style-file output-file
This program compiles the XSL style sheet in style-file to the output-file.
args - Arguments supplied on the command linejava.lang.Exception - Any compilation error occursprotected void doMain(java.lang.String[] args)
args - the command-line argumentsprotected static void quit(java.lang.String message,
int code)
message - Message to be outputcode - Result code to be returned to the operating systemprotected void badUsage(java.lang.String message)
message - Error message to be displayed