Class GroovyPluggingOutputCodec


public class GroovyPluggingOutputCodec extends MultiOutputCodec
  • Constructor Details

    • GroovyPluggingOutputCodec

      public GroovyPluggingOutputCodec()
  • Method Details

    • encode

      public void encode(DomGraph graph, NodeLabels labels, Writer writer) throws IOException, MalformedDomgraphException
      Description copied from class: OutputCodec
      Encodes a dominance graph into a string representation for this output codec. The dominance graph is defined by the arguments graph and labels. The USR is written to the writer.

      Specified by:
      encode in class OutputCodec
      Parameters:
      graph - the dominance graph
      labels - the node labels for this dominance graph
      writer - the writer to which the encoded USR will be written
      Throws:
      IOException - if an I/O error occurred while writing to the writer
      MalformedDomgraphException - if the graph cannot be encoded by this codec