|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.CompileStylesheet
public class CompileStylesheet
This CompileStylesheet
class provides a command-line interface allowing a
stylesheet to be compiled.
Nested Class Summary | |
---|---|
static class |
CompileStylesheet.TracingObjectOutputStream
Tracing version of ObjectOutputStream for diagnostics |
Constructor Summary | |
---|---|
CompileStylesheet()
|
Method Summary | |
---|---|
protected void |
badUsage(String message)
Output error message when incorrect command line options/arguments are used |
protected void |
doMain(String[] args)
Support method for main program. |
static void |
main(String[] args)
Main program, can be used directly from the command line. |
protected static void |
quit(String message,
int code)
Exit with a message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompileStylesheet()
Method Detail |
---|
public static void main(String[] args) throws 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 line
Exception
- Any compilation error occursprotected void doMain(String[] args)
args
- the command-line argumentsprotected static void quit(String message, int code)
message
- Message to be outputcode
- Result code to be returned to the operating systemprotected void badUsage(String message)
message
- Error message to be displayed
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |