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