public class DTDDiagnosticsParticipant extends Object implements IDiagnosticsParticipant
| Constructor and Description |
|---|
DTDDiagnosticsParticipant() |
| Modifier and Type | Method and Description |
|---|---|
void |
doDiagnostics(DOMDocument xmlDocument,
List<org.eclipse.lsp4j.Diagnostic> diagnostics,
org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)
Validate the given XML document.
|
public void doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)
IDiagnosticsParticipantdoDiagnostics in interface IDiagnosticsParticipantxmlDocument - XML document to validate.diagnostics - list to populate with errors, warnings, etcmonitor - used to stop the validation when XML document changed.Copyright © 2020. All rights reserved.