Class BaseInterfaceFormatter


  • public class BaseInterfaceFormatter
    extends java.lang.Object
    Base formatter for messages
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected net.morimekta.util.io.IndentedPrintWriter writer  
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseInterfaceFormatter​(net.morimekta.util.io.IndentedPrintWriter writer, JHelper helper, JavaOptions javaOptions, net.morimekta.providence.generator.GeneratorOptions generatorOptions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendInterface​(net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor)  
      • Methods inherited from class java.lang.Object

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

      • writer

        protected final net.morimekta.util.io.IndentedPrintWriter writer
    • Constructor Detail

      • BaseInterfaceFormatter

        public BaseInterfaceFormatter​(net.morimekta.util.io.IndentedPrintWriter writer,
                                      JHelper helper,
                                      JavaOptions javaOptions,
                                      net.morimekta.providence.generator.GeneratorOptions generatorOptions)
    • Method Detail

      • appendInterface

        public void appendInterface​(net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor)
                             throws net.morimekta.providence.generator.GeneratorException
        Throws:
        net.morimekta.providence.generator.GeneratorException