Package jamopp.printer
Class JaMoPPPrinter
java.lang.Object
jamopp.printer.JaMoPPPrinter
This class provides methods to print JaMoPP model instances.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
print
(Commentable element, OutputStream output) Prints an arbitrary Java model element into an OutputStream.static void
print
(JavaRoot root, OutputStream output) Prints a model instance into an OutputStream.static void
Prints a model instance into a file.
-
Method Details
-
print
Prints a model instance into an OutputStream.- Parameters:
root
- the model instance to print.output
- the output for printing.
-
print
Prints an arbitrary Java model element into an OutputStream.- Parameters:
element
- the Java model element.output
- the output for printing.
-
print
Prints a model instance into a file.- Parameters:
root
- the model instance to print.file
- the file for printing.
-