Class Yaml.SilentEmitter

  • All Implemented Interfaces:
    Emitable
    Enclosing class:
    Yaml

    private static class Yaml.SilentEmitter
    extends java.lang.Object
    implements Emitable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<Event> events  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SilentEmitter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void emit​(Event event)
      Push event to bytes
      java.util.List<Event> getEvents()  
      • Methods inherited from class java.lang.Object

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

      • events

        private final java.util.List<Event> events
    • Constructor Detail

      • SilentEmitter

        private SilentEmitter()
    • Method Detail

      • getEvents

        public java.util.List<Event> getEvents()
      • emit

        public void emit​(Event event)
                  throws java.io.IOException
        Description copied from interface: Emitable
        Push event to bytes
        Specified by:
        emit in interface Emitable
        Parameters:
        event - - the source
        Throws:
        java.io.IOException - if bytes bite