public class LSPErrorReporterForXML extends AbstractLSPErrorReporter
Constructor and Description |
---|
LSPErrorReporterForXML(DOMDocument xmlDocument,
List<org.eclipse.lsp4j.Diagnostic> diagnostics) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isIgnoreFatalError(String key) |
protected org.eclipse.lsp4j.Range |
toLSPRange(org.apache.xerces.xni.XMLLocator location,
String key,
Object[] arguments,
DOMDocument document)
Create the LSP range from the SAX error.
|
addDiagnostic, reportError
getErrorHandler, getFeature, getFeatureDefault, getLocale, getMessageFormatter, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, getSAXErrorHandler, putMessageFormatter, removeMessageFormatter, reportError, reportError, reportError, reset, setDocumentLocator, setFeature, setLocale, setProperty
public LSPErrorReporterForXML(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics)
protected org.eclipse.lsp4j.Range toLSPRange(org.apache.xerces.xni.XMLLocator location, String key, Object[] arguments, DOMDocument document)
toLSPRange
in class AbstractLSPErrorReporter
location
- key
- arguments
- document
- protected boolean isIgnoreFatalError(String key)
isIgnoreFatalError
in class AbstractLSPErrorReporter
Copyright © 2020. All rights reserved.