| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Symbol | generate(Schema schema)
Overrides org. |
| public Symbol | Returns: The start symbol for the schemaThe schema for which the start symbol is required sc, Map<ValidatingGrammarGenerator.A map of schema to symbol mapping done so far. seenOverrides org. |
| JsonGrammarGenerator | back to summary |
|---|---|
| public JsonGrammarGenerator() | |
| generate | back to summary |
|---|---|
| public Symbol generate(Schema schema) Overrides org. Returns the non-terminal that is the start symbol for the grammar for the grammar for the given schema sc.
| |
| generate | back to summary |
|---|---|
| public Symbol generate(Schema sc, Map<ValidatingGrammarGenerator. Overrides org. Returns the non-terminal that is the start symbol for grammar of the given schema sc. If there is already an entry for the given schema in the given map seen then that entry is returned. Otherwise a new symbol is generated and an entry is inserted into the map. | |