Class AbstractModelExporter

java.lang.Object
ca.mcscert.jpipe.visitor.AbstractModelExporter
All Implemented Interfaces:
JustificationVisitor<Void>
Direct Known Subclasses:
DotExporter, JsonExporter, PythonExporter

public abstract class AbstractModelExporter extends Object implements JustificationVisitor<Void>
Abstract base for exporters that serialise a single JustificationModel to text. Provides the common infrastructure shared by all single-model exporters:

Subclasses implement exportModel(JustificationModel) to perform the actual serialisation, setting currentModelName as their first action. Element visit methods (visit(Conclusion), etc.) are left abstract so each exporter controls its own output format.