Package | Description |
---|---|
org.eclipse.lemminx.extensions.contentmodel.participants | |
org.eclipse.lemminx.extensions.xerces |
Modifier and Type | Method and Description |
---|---|
static DTDErrorCode |
DTDErrorCode.get(String name) |
static DTDErrorCode |
DTDErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DTDErrorCode[] |
DTDErrorCode.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 |
DTDErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location,
DTDErrorCode code,
Object[] arguments,
DOMDocument document)
Create the LSP range from the SAX error.
|
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,
RelaxNGErrorCode rngCode,
XIncludeErrorCode xIncludeCode,
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.
|
Copyright © 2022. All rights reserved.