Class XMLReferencesDiagnosticParticipant
java.lang.Object
org.eclipse.lemminx.extensions.references.participants.XMLReferencesDiagnosticParticipant
- All Implemented Interfaces:
IDiagnosticsParticipant
XML references diagnostics which reports undefined references.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoDiagnostics(DOMDocument document, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Validate the given XML document.
-
Constructor Details
-
XMLReferencesDiagnosticParticipant
-
-
Method Details
-
doDiagnostics
public void doDiagnostics(DOMDocument document, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Description copied from interface:IDiagnosticsParticipantValidate the given XML document.- Specified by:
doDiagnosticsin interfaceIDiagnosticsParticipant- Parameters:
document- XML document to validate.diagnostics- list to populate with errors, warnings, etcvalidationSettings- the validation settings.cancelChecker- used to stop the validation when XML document changed.
-