public class NoGrammarConstraintsCodeAction extends Object implements ICodeActionParticipant
Constructor and Description |
---|
NoGrammarConstraintsCodeAction() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.TextDocumentEdit |
createDocTypeEdit(String dtdFileName,
DOMDocument document,
SharedSettings sharedSettings) |
static org.eclipse.lsp4j.TextDocumentEdit |
createXmlModelEdit(String schemaFileName,
String targetNamespace,
DOMDocument document,
SharedSettings sharedSettings) |
static org.eclipse.lsp4j.TextDocumentEdit |
createXSINoNamespaceSchemaLocationEdit(String schemaFileName,
DOMDocument document) |
static org.eclipse.lsp4j.TextDocumentEdit |
createXSISchemaLocationEdit(String schemaFileName,
String targetNamespace,
DOMDocument document) |
void |
doCodeAction(org.eclipse.lsp4j.Diagnostic diagnostic,
org.eclipse.lsp4j.Range range,
DOMDocument document,
List<org.eclipse.lsp4j.CodeAction> codeActions,
SharedSettings sharedSettings,
IComponentProvider componentProvider) |
public void doCodeAction(org.eclipse.lsp4j.Diagnostic diagnostic, org.eclipse.lsp4j.Range range, DOMDocument document, List<org.eclipse.lsp4j.CodeAction> codeActions, SharedSettings sharedSettings, IComponentProvider componentProvider)
doCodeAction
in interface ICodeActionParticipant
public static org.eclipse.lsp4j.TextDocumentEdit createXSINoNamespaceSchemaLocationEdit(String schemaFileName, DOMDocument document) throws BadLocationException
BadLocationException
public static org.eclipse.lsp4j.TextDocumentEdit createXSISchemaLocationEdit(String schemaFileName, String targetNamespace, DOMDocument document) throws BadLocationException
BadLocationException
public static org.eclipse.lsp4j.TextDocumentEdit createXmlModelEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationException
public static org.eclipse.lsp4j.TextDocumentEdit createDocTypeEdit(String dtdFileName, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationException
Copyright © 2021. All rights reserved.