Class DebugController

java.lang.Object
com.sun.msv.driver.textui.DebugController
All Implemented Interfaces:
GrammarReaderController, EntityResolver

public class DebugController extends Object implements GrammarReaderController
GrammarReaderController that prints all errors and warnings.
  • Field Details

    • displayWarning

      private boolean displayWarning
      if true, warnings are reported. If false, not reported.
    • warningReported

      private boolean warningReported
      set to true after "there are warnings..." message is once printed.
    • externalEntityResolver

      public EntityResolver externalEntityResolver
      entity resolution is delegated to this object. can be null.
    • out

      protected PrintStream out
      messages are sent to this object.
  • Constructor Details

    • DebugController

      public DebugController(boolean displayWarning)
    • DebugController

      public DebugController(boolean displayWarning, boolean quiet)
    • DebugController

      public DebugController(boolean displayWarning, boolean quiet, EntityResolver externalEntityResolver)
    • DebugController

      public DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice)
    • DebugController

      public DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice, EntityResolver externalEntityResolver)
  • Method Details