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 Summary
Constructors Constructor Description RNGDiagnosticsParticipant(RelaxNGPlugin rngPlugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)Validate the given XML document.
-
-
-
Constructor Detail
-
RNGDiagnosticsParticipant
public RNGDiagnosticsParticipant(RelaxNGPlugin rngPlugin)
-
-
Method Detail
-
doDiagnostics
public void doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)
Description copied from interface:IDiagnosticsParticipantValidate the given XML document.- Specified by:
doDiagnosticsin interfaceIDiagnosticsParticipant- Parameters:
xmlDocument- XML document to validate.diagnostics- list to populate with errors, warnings, etcvalidationSettings- the validation settings.monitor- used to stop the validation when XML document changed.
-
-