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 ICodeActionParticipantpublic static org.eclipse.lsp4j.TextDocumentEdit createXSINoNamespaceSchemaLocationEdit(String schemaFileName, DOMDocument document) throws BadLocationException
BadLocationExceptionpublic static org.eclipse.lsp4j.TextDocumentEdit createXSISchemaLocationEdit(String schemaFileName, String targetNamespace, DOMDocument document) throws BadLocationException
BadLocationExceptionpublic static org.eclipse.lsp4j.TextDocumentEdit createXmlModelEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationExceptionpublic static org.eclipse.lsp4j.TextDocumentEdit createDocTypeEdit(String dtdFileName, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationExceptionCopyright © 2022. All rights reserved.