Class EnumWriter

  • All Implemented Interfaces:
    com.github.fge.jsonschema.core.processing.Processor<AvroPayload,​com.github.fge.jsonschema.core.util.ValueHolder<org.apache.avro.Schema>>

    public final class EnumWriter
    extends NamedTypeWriter
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.avro.Schema generate​(AvroWriterProcessor writer, com.github.fge.jsonschema.core.report.ProcessingReport report, com.github.fge.jsonschema.core.tree.SchemaTree tree)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnumWriter

        public EnumWriter()
    • Method Detail

      • generate

        protected org.apache.avro.Schema generate​(AvroWriterProcessor writer,
                                                  com.github.fge.jsonschema.core.report.ProcessingReport report,
                                                  com.github.fge.jsonschema.core.tree.SchemaTree tree)
                                           throws com.github.fge.jsonschema.core.exceptions.ProcessingException
        Specified by:
        generate in class AvroWriter
        Throws:
        com.github.fge.jsonschema.core.exceptions.ProcessingException