org.apache.xalan.xslt
Class Process

java.lang.Object
  extended byorg.apache.xalan.xslt.Process

public class Process
extends Object

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

Process

public Process()
Method Detail

printArgOptions

protected static void printArgOptions(ResourceBundle resbundle)
Prints argument options.

Parameters:
resbundle - Resource bundle

main

public static void main(String[] argv)
Command line interface to transform an XML document according to the instructions found in an XSL stylesheet.

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).

Parameters:
argv - Input parameters from command line

doExit

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... (I keep checking this in, it keeps vanishing. Grr!)


waitForReturnKey

private static void waitForReturnKey(ResourceBundle resbundle)
Wait for a return key to continue

Parameters:
resbundle - The resource bundle

printInvalidXSLTCOption

private static void printInvalidXSLTCOption(String option)
Print a message if an option cannot be used with -XSLTC.

Parameters:
option - The option String

printInvalidXalanOption

private static void printInvalidXalanOption(String option)
Print a message if an option can only be used with -XSLTC.

Parameters:
option - The option String