com.sun.msv.generator
Class Driver
java.lang.Object
com.sun.msv.generator.Driver
- public class Driver
- extends Object
command line driver.
- Author:
- Kohsuke KAWAGUCHI
grammar
public Grammar grammar
outputName
public String outputName
exampleTokens
public final Set exampleTokens
Driver
public Driver()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
parseArguments
public void parseArguments(String[] args)
throws com.sun.msv.generator.Driver.CommandLineException,
javax.xml.parsers.ParserConfigurationException
- Parses the arguments and fill the fields accordingly.
- Throws:
com.sun.msv.generator.Driver.CommandLineException
javax.xml.parsers.ParserConfigurationException
run
public int run(PrintStream out)
throws Exception
- Generate XML instances.
- Returns:
- 0 if it run successfully. Non-zero if any error is encountered.
- Throws:
Exception