org.jvyamlb
Class SerializerImpl

java.lang.Object
  extended by org.jvyamlb.SerializerImpl
All Implemented Interfaces:
Serializer
Direct Known Subclasses:
JRubySerializer

public class SerializerImpl
extends java.lang.Object
implements Serializer

Author:
Ola Bini

Constructor Summary
SerializerImpl(Emitter emitter, Resolver resolver, YAMLConfig opts)
           
 
Method Summary
 void close()
           
protected  boolean ignoreAnchor(Node node)
           
 void open()
           
 void serialize(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializerImpl

public SerializerImpl(Emitter emitter,
                      Resolver resolver,
                      YAMLConfig opts)
Method Detail

ignoreAnchor

protected boolean ignoreAnchor(Node node)

open

public void open()
          throws java.io.IOException
Specified by:
open in interface Serializer
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface Serializer
Throws:
java.io.IOException

serialize

public void serialize(Node node)
               throws java.io.IOException
Specified by:
serialize in interface Serializer
Throws:
java.io.IOException


Copyright © 2002-2007 JRuby Team. All Rights Reserved.