1 28 package org.jvyamlb; 29 30 import java.io.IOException ; 31 32 import java.util.List ; 33 import java.util.Map ; 34 35 import org.jvyamlb.nodes.Node; 36 37 import org.jruby.util.ByteList; 38 39 42 public interface Representer { 43 void represent(final Object data) throws IOException ; 44 Node scalar(final String tag, final ByteList value, char style) throws IOException ; 45 Node seq(final String tag, final List sequence, final boolean flowStyle) throws IOException ; 46 Node map(final String tag, final Map mapping, final boolean flowStyle) throws IOException ; 47 } | Popular Tags |