Documentation of 'org.yaml.snakeyaml.emitter.Emitter' Java class
Emitter
org.yaml.snakeyaml.emitter

Class Emitter

  • All Implemented Interfaces:
    Emitable


    public final class Emitter
    extends java.lang.Object
    implements Emitable
     Emitter expects events obeying the following grammar:
     stream ::= STREAM-START document* STREAM-END
     document ::= DOCUMENT-START node DOCUMENT-END
     node ::= SCALAR | sequence | mapping
     sequence ::= SEQUENCE-START node* SEQUENCE-END
     mapping ::= MAPPING-START (node node)* MAPPING-END
     
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int MAX_INDENT 
      static int MIN_INDENT 
    • Constructor Summary

      Constructors 
      Constructor and Description
      Emitter(java.io.Writer stream, DumperOptions opts) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void emit(Event event) 
      • Methods inherited from class java.lang.Object

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

      • Emitter

        public Emitter(java.io.Writer stream,
                       DumperOptions opts)
    • Method Detail

      • emit

        public void emit(Event event)
                  throws java.io.IOException
        Specified by:
        emit in interface Emitable
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.