public class LSPErrorReporterForXML extends AbstractReferencedGrammarLSPErrorReporter
contentModelManagerNO_RANGE| Constructor and Description |
|---|
LSPErrorReporterForXML(DOMDocument xmlDocument,
List<org.eclipse.lsp4j.Diagnostic> diagnostics,
ContentModelManager contentModelManager,
boolean hasRelatedInformation,
Map<String,ReferencedGrammarDiagnosticsInfo> referencedGrammarDiagnosticsInfoCache) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.lsp4j.Range |
getReferencedGrammarRange(String grammarURI) |
protected boolean |
isIgnoreFatalError(String key) |
protected org.eclipse.lsp4j.Range |
toLSPRange(org.apache.xerces.xni.XMLLocator location,
String key,
Object[] arguments,
String message,
org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity,
boolean fatalError,
DOMDocument document,
String documentOrGrammarURI,
boolean errorForDocument) |
endReport, fillReferencedGrammarDiagnostic, toLSPRangeaddDiagnostic, createDefaultRange, getDOMDocument, initializeReporter, initializeReporter, reportErrorgetErrorHandler, getFeature, getFeatureDefault, getLocale, getMessageFormatter, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, getSAXErrorHandler, putMessageFormatter, removeMessageFormatter, reportError, reportError, reportError, reset, setDocumentLocator, setFeature, setLocale, setPropertypublic LSPErrorReporterForXML(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, ContentModelManager contentModelManager, boolean hasRelatedInformation, Map<String,ReferencedGrammarDiagnosticsInfo> referencedGrammarDiagnosticsInfoCache)
protected org.eclipse.lsp4j.Range toLSPRange(org.apache.xerces.xni.XMLLocator location,
String key,
Object[] arguments,
String message,
org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity,
boolean fatalError,
DOMDocument document,
String documentOrGrammarURI,
boolean errorForDocument)
toLSPRange in class AbstractReferencedGrammarLSPErrorReporterprotected boolean isIgnoreFatalError(String key)
isIgnoreFatalError in class AbstractLSPErrorReporterprotected org.eclipse.lsp4j.Range getReferencedGrammarRange(String grammarURI)
getReferencedGrammarRange in class AbstractReferencedGrammarLSPErrorReporterCopyright © 2021. All rights reserved.