public class Driver extends Object
| Modifier and Type | Field | Description |
|---|---|---|
Set |
exampleTokens |
|
Grammar |
grammar |
|
String |
outputName |
| Constructor | Description |
|---|---|
Driver() |
| Modifier and Type | Method | 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 © 2019 Oracle Corporation. All rights reserved.