public class Driver extends Object
| Modifier and Type | Field and Description |
|---|---|
Set |
exampleTokens |
Grammar |
grammar |
String |
outputName |
| Constructor and Description |
|---|
Driver() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getRatio(String s) |
static void |
main(String[] args) |
void |
parseArguments(String[] args)
Parses the arguments and fill the fields accordingly.
|
int |
run(PrintStream out)
Generate XML instances.
|
public Grammar grammar
public String outputName
public final Set exampleTokens
protected double getRatio(String s)
public void parseArguments(String[] args) throws com.sun.msv.generator.Driver.CommandLineException, ParserConfigurationException
com.sun.msv.generator.Driver.CommandLineExceptionParserConfigurationExceptionpublic int run(PrintStream out) throws Exception
ExceptionCopyright © 2014 Oracle Corporation. All Rights Reserved.