public class ResolvingGrammarGenerator extends ValidatingGrammarGenerator
| Constructor and Description | 
|---|
ResolvingGrammarGenerator()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
encode(Encoder e,
      Schema s,
      com.fasterxml.jackson.databind.JsonNode n)
Encodes the given Json node n on to the encoder e according
 to the schema s. 
 | 
Symbol | 
generate(Schema writer,
        Schema reader)
Resolves the writer schema writer and the reader schema
 reader and returns the start symbol for the grammar generated. 
 | 
generate, generatepublic final Symbol generate(Schema writer, Schema reader) throws IOException
writer - The schema used by the writerreader - The schema used by the readerIOExceptionpublic static void encode(Encoder e, Schema s, com.fasterxml.jackson.databind.JsonNode n) throws IOException
e - The encoder to encode into.s - The schema for the object being encoded.n - The Json node to encode.IOExceptionCopyright © 2009–2021 The Apache Software Foundation. All rights reserved.