Class RNGDiagnosticsParticipant

java.lang.Object
org.eclipse.lemminx.extensions.relaxng.grammar.rng.RNGDiagnosticsParticipant
All Implemented Interfaces:
IDiagnosticsParticipant

public class RNGDiagnosticsParticipant extends Object implements IDiagnosticsParticipant
Validate RNG file with Jing.
  • Constructor Details

    • RNGDiagnosticsParticipant

      public RNGDiagnosticsParticipant(RelaxNGPlugin rngPlugin)
  • Method Details

    • doDiagnostics

      public void doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)
      Description copied from interface: IDiagnosticsParticipant
      Validate the given XML document.
      Specified by:
      doDiagnostics in interface IDiagnosticsParticipant
      Parameters:
      xmlDocument - XML document to validate.
      diagnostics - list to populate with errors, warnings, etc
      validationSettings - the validation settings.
      monitor - used to stop the validation when XML document changed.