|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.xslt.Process
The main() method handles the Xalan command-line interface.
Constructor Summary | |
Process()
|
Method Summary | |
(package private) static void |
doExit(int i)
It is _much_ easier to debug under VJ++ if I can set a single breakpoint before this blows itself out of the water... |
static void |
main(String[] argv)
Command line interface to transform an XML document according to the instructions found in an XSL stylesheet. |
protected static void |
printArgOptions(ResourceBundle resbundle)
Prints argument options. |
private static void |
printInvalidXalanOption(String option)
Print a message if an option can only be used with -XSLTC. |
private static void |
printInvalidXSLTCOption(String option)
Print a message if an option cannot be used with -XSLTC. |
private static void |
waitForReturnKey(ResourceBundle resbundle)
Wait for a return key to continue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Process()
Method Detail |
protected static void printArgOptions(ResourceBundle resbundle)
resbundle
- Resource bundlepublic static void main(String[] argv)
The Process class provides basic functionality for performing transformations from the command line. To see a list of arguments supported, call with zero arguments.
To set stylesheet parameters from the command line, use
-PARAM name expression
. If you want to set the
parameter to a string value, simply pass the string value
as-is, and it will be interpreted as a string. (Note: if
the value has spaces in it, you may need to quote it depending
on your shell environment).
argv
- Input parameters from command linestatic void doExit(int i)
private static void waitForReturnKey(ResourceBundle resbundle)
resbundle
- The resource bundleprivate static void printInvalidXSLTCOption(String option)
option
- The option Stringprivate static void printInvalidXalanOption(String option)
option
- The option String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |