net.sourceforge.yamlbeans.emitter
Class Emitter

java.lang.Object
  extended by net.sourceforge.yamlbeans.emitter.Emitter

public class Emitter
extends java.lang.Object

Converts events into YAML output.


Constructor Summary
Emitter(java.io.Writer writer)
           
Emitter(java.io.Writer writer, EmitterConfig config)
           
 
Method Summary
 void close()
           
 void emit(Event event)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Emitter

public Emitter(java.io.Writer writer)

Emitter

public Emitter(java.io.Writer writer,
               EmitterConfig config)
Method Detail

emit

public void emit(Event event)
          throws java.io.IOException,
                 EmitterException
Throws:
java.io.IOException
EmitterException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException