de.saar.chorus.domgraph.codec
Class MultiOutputCodec

Object
  extended by OutputCodec
      extended by MultiOutputCodec
Direct Known Subclasses:
CodegenOutputCodec, DomconOzOutputCodec, DomconOzPluggingOutputCodec, DomgraphGxlOutputCodec, LkbPluggingOutputCodec, TermOutputCodec

public abstract class MultiOutputCodec
extends OutputCodec


Constructor Summary
MultiOutputCodec()
           
 
Method Summary
abstract  void print_end_list(Writer writer)
          Prints the end of a list in the concrete syntax which the USR uses.
abstract  void print_list_separator(Writer writer)
          Prints the separator for separating different items of a list in the concrete syntax which the USR uses.
abstract  void print_start_list(Writer writer)
          Prints the beginning of a list in the concrete syntax which the USR uses.
 
Methods inherited from class OutputCodec
encode, print_footer, print_header
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiOutputCodec

public MultiOutputCodec()
Method Detail

print_start_list

public abstract void print_start_list(Writer writer)
                               throws IOException
Prints the beginning of a list in the concrete syntax which the USR uses. This method is called after print_header, but before any of the USRs. It is only called if we print more than one graph (e.g. in the solve command, but not the convert command).

Parameters:
writer - the writer
Throws:
IOException - if an I/O error occurred

print_end_list

public abstract void print_end_list(Writer writer)
                             throws IOException
Prints the end of a list in the concrete syntax which the USR uses. This method is called before print_footer, but after any of the USRs. It is only called if we print more than one graph (e.g. in the solve command, but not the convert command).

Parameters:
writer - the writer
Throws:
IOException - if an I/O error occurred

print_list_separator

public abstract void print_list_separator(Writer writer)
                                   throws IOException
Prints the separator for separating different items of a list in the concrete syntax which the USR uses.

Parameters:
writer - the writer
Throws:
IOException - if an I/O error occurred