Class ConfigurableIVMLWriter

All Implemented Interfaces:
IConstraintTreeVisitor, ICustomDatatypeVisitor, IModelVisitor, IValueVisitor

public class ConfigurableIVMLWriter extends IVMLWriter
An IVML writer which may or not emit imports.
Author:
Holger Eichelberger
  • Field Details

    • imports

      private List<Project> imports
    • projectNestingLevel

      private int projectNestingLevel
  • Constructor Details

    • ConfigurableIVMLWriter

      public ConfigurableIVMLWriter(Writer writer, boolean emitComments, boolean emitImports)
      Creates a writer instance. Due to the pooling mechanism, disabling comments can only be done by a non-pooled subclass.
      Parameters:
      writer - the writer which should be used for writing the output
      emitComments - whether comments shall be emitted or ignored
      emitImports - whether imports shall be emitted or ignored
  • Method Details