Modello SnakeYaml Plugin

Modello SnakeYaml Plugin generates YAML readers and writers based on SnakeYaml APIs, plus reader delegates to be able to read multiple model versions.

snakeyaml-reader

snakeyaml-reader generator creates my.model.package.io.snakeyaml.ModelNameSnakeYamlReader class with following public methods:

  • public RootClass ( Reader reader, boolean strict )
        throws IOException
  • public RootClass read( Reader reader )
        throws IOException
  • public RootClass read( InputStream input, boolean strict )
        throws IOException
  • public RootClass read( InputStream input )
        throws IOException

snakeyaml-writer

snakeyaml-writer generator creates my.model.package.io.snakeyaml.ModelNameSnakeYamlWriter class with following public methods:

  • public void write( OutputStream output, RootClass root )
        throws IOException
  • public void write( Writer writer, RootClass root )
        throws IOException