Package | Description |
---|---|
org.eclipse.lemminx.extensions.xerces | |
org.eclipse.lemminx.extensions.xsd.participants |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractReferencedGrammarLSPErrorReporter.fillReferencedGrammarDiagnostic(org.apache.xerces.xni.XMLLocator location,
String key,
Object[] arguments,
String message,
org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity,
boolean fatalError,
URIResolverExtensionManager resolverExtensionManager,
XMLSyntaxErrorCode syntaxCode,
XMLSchemaErrorCode schemaErrorCode,
DTDErrorCode dtdCode,
XSDErrorCode xsdCode,
String grammarURI)
Create a diagnostic root where XSD, DTD which have the error if needed and
attach the error as related information if LSP client support it.
|
Modifier and Type | Method and Description |
---|---|
static XSDErrorCode |
XSDErrorCode.get(String name) |
static XSDErrorCode |
XSDErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XSDErrorCode[] |
XSDErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.Range |
XSDErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location,
XSDErrorCode code,
Object[] arguments,
DOMDocument document)
Create the LSP range from the SAX error.
|
Copyright © 2022. All rights reserved.