Package de.saar.chorus.domgraph.codec
Class MultiOutputCodec
java.lang.Object
de.saar.chorus.domgraph.codec.OutputCodec
de.saar.chorus.domgraph.codec.MultiOutputCodec
- Direct Known Subclasses:
CodegenOutputCodec,DomconOzOutputCodec,DomconOzPluggingOutputCodec,DomgraphGxlOutputCodec,GroovyPluggingOutputCodec,LkbPluggingOutputCodec,TermOutputCodec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidprint_end_list(Writer writer) Prints the end of a list in the concrete syntax which the USR uses.abstract voidprint_list_separator(Writer writer) Prints the separator for separating different items of a list in the concrete syntax which the USR uses.abstract voidprint_start_list(Writer writer) Prints the beginning of a list in the concrete syntax which the USR uses.Methods inherited from class de.saar.chorus.domgraph.codec.OutputCodec
encode, print_footer, print_header
-
Constructor Details
-
MultiOutputCodec
public MultiOutputCodec()
-
-
Method Details
-
print_start_list
Prints the beginning of a list in the concrete syntax which the USR uses. This method is called afterprint_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
Prints the end of a list in the concrete syntax which the USR uses. This method is called beforeprint_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
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
-