Package com.sun.msv.generator
Class Driver
java.lang.Object
com.sun.msv.generator.Driver
command line driver.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublestatic voidvoidparseArguments(String[] args) Parses the arguments and fill the fields accordingly.intrun(PrintStream out) Generate XML instances.
-
Field Details
-
grammar
-
outputName
-
exampleTokens
-
-
Constructor Details
-
Driver
public Driver()
-
-
Method Details
-
main
- Throws:
Exception
-
getRatio
-
parseArguments
public void parseArguments(String[] args) throws com.sun.msv.generator.Driver.CommandLineException, ParserConfigurationException Parses the arguments and fill the fields accordingly.- Throws:
com.sun.msv.generator.Driver.CommandLineExceptionParserConfigurationException
-
run
Generate XML instances.- Returns:
- 0 if it run successfully. Non-zero if any error is encountered.
- Throws:
Exception
-