public class XMLReferencesDiagnosticParticipant extends Object implements IDiagnosticsParticipant
| Constructor and Description |
|---|
XMLReferencesDiagnosticParticipant(XMLReferencesPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
doDiagnostics(DOMDocument document,
List<org.eclipse.lsp4j.Diagnostic> diagnostics,
XMLValidationSettings validationSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Validate the given XML document.
|
public XMLReferencesDiagnosticParticipant(XMLReferencesPlugin plugin)
public void doDiagnostics(DOMDocument document, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
IDiagnosticsParticipantdoDiagnostics in interface IDiagnosticsParticipantdocument - 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.Copyright © 2024. All rights reserved.