org.extex.ocpware.writer
Class OcpOmegaWriter2

java.lang.Object
  extended by org.extex.ocpware.writer.AbstractWriter
      extended by org.extex.ocpware.writer.OcpOmegaWriter
          extended by org.extex.ocpware.writer.OcpOmegaWriter2
All Implemented Interfaces:
OcpWriter

public class OcpOmegaWriter2
extends OcpOmegaWriter

This writer for an ΩCP is meant for pretty-printing.

Version:
$Revision: 6018 $
Author:
Gerd Neugebauer

Constructor Summary
OcpOmegaWriter2()
          Creates a new object.
 
Method Summary
 void write(java.io.OutputStream stream, OcpProgram ocp)
          Write the ΩCP program to an output stream.
 
Methods inherited from class org.extex.ocpware.writer.OcpOmegaWriter
charString, disassemble, print, printNum, printNum
 
Methods inherited from class org.extex.ocpware.writer.AbstractWriter
booleanResource, format, room
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OcpOmegaWriter2

public OcpOmegaWriter2()
Creates a new object.

Method Detail

write

public void write(java.io.OutputStream stream,
                  OcpProgram ocp)
Write the ΩCP program to an output stream.

Specified by:
write in interface OcpWriter
Overrides:
write in class OcpOmegaWriter
Parameters:
stream - the output stream
ocp - the ocp program
See Also:
OcpOmegaWriter.write(java.io.OutputStream, org.extex.ocpware.type.OcpProgram)