|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.sf.saxon.Compile
This Compile class provides a command-line interface allowing a stylesheet to be compiled.
| Constructor Summary | |
Compile()
|
|
| Method Summary | |
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. |
static javax.xml.transform.URIResolver |
makeURIResolver(java.lang.String className)
Load a URIResolver given its class name |
protected static void |
quit(java.lang.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 Compile()
| Method Detail |
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 line
java.lang.Exception - Any compilation error occursprotected void doMain(java.lang.String[] args)
args - the command-line arguments
protected 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
public static javax.xml.transform.URIResolver makeURIResolver(java.lang.String className)
throws XPathException
className - The fully-qualified name of the URIResolver class to
be loaded
XPathException - The class specified is not an instance
of javax.xml.transform.URIResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||